mirror of
https://github.com/irmen/prog8.git
synced 2024-11-03 13:07:54 +00:00
fix datatype warning
This commit is contained in:
parent
9d7eb3be5a
commit
6f000d0d26
@ -14,10 +14,10 @@ main {
|
|||||||
for r in 3 to 12 step 3 {
|
for r in 3 to 12 step 3 {
|
||||||
circle(r)
|
circle(r)
|
||||||
}
|
}
|
||||||
line(5,3, 30,3)
|
;line(5,3, 30,3)
|
||||||
line(5,3, 5, 24)
|
;line(5,3, 5, 24)
|
||||||
line(30,3,30,24)
|
;line(30,3,30,24)
|
||||||
line(5,24,30,24)
|
;line(5,24,30,24)
|
||||||
|
|
||||||
line(1, 10, 38, 24)
|
line(1, 10, 38, 24)
|
||||||
line(1, 20, 38, 2)
|
line(1, 20, 38, 2)
|
||||||
@ -40,10 +40,10 @@ main {
|
|||||||
c64scr.setcc(x, y, 42, 5)
|
c64scr.setcc(x, y, 42, 5)
|
||||||
if x==x2
|
if x==x2
|
||||||
return
|
return
|
||||||
x += ix
|
x += ix as ubyte
|
||||||
d += dy2
|
d += dy2
|
||||||
if d > dx {
|
if d > dx {
|
||||||
y += iy
|
y += iy as ubyte
|
||||||
d -= dx2
|
d -= dx2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -52,10 +52,10 @@ main {
|
|||||||
c64scr.setcc(x, y, 42, 5)
|
c64scr.setcc(x, y, 42, 5)
|
||||||
if y == y2
|
if y == y2
|
||||||
return
|
return
|
||||||
y += iy
|
y += iy as ubyte
|
||||||
d += dx2
|
d += dx2
|
||||||
if d > dy {
|
if d > dy {
|
||||||
x += ix
|
x += ix as ubyte
|
||||||
d -= dy2
|
d -= dy2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user