mirror of
https://github.com/irmen/prog8.git
synced 2024-12-26 14:29:35 +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 {
|
||||
circle(r)
|
||||
}
|
||||
line(5,3, 30,3)
|
||||
line(5,3, 5, 24)
|
||||
line(30,3,30,24)
|
||||
line(5,24,30,24)
|
||||
;line(5,3, 30,3)
|
||||
;line(5,3, 5, 24)
|
||||
;line(30,3,30,24)
|
||||
;line(5,24,30,24)
|
||||
|
||||
line(1, 10, 38, 24)
|
||||
line(1, 20, 38, 2)
|
||||
@ -40,10 +40,10 @@ main {
|
||||
c64scr.setcc(x, y, 42, 5)
|
||||
if x==x2
|
||||
return
|
||||
x += ix
|
||||
x += ix as ubyte
|
||||
d += dy2
|
||||
if d > dx {
|
||||
y += iy
|
||||
y += iy as ubyte
|
||||
d -= dx2
|
||||
}
|
||||
}
|
||||
@ -52,10 +52,10 @@ main {
|
||||
c64scr.setcc(x, y, 42, 5)
|
||||
if y == y2
|
||||
return
|
||||
y += iy
|
||||
y += iy as ubyte
|
||||
d += dx2
|
||||
if d > dy {
|
||||
x += ix
|
||||
x += ix as ubyte
|
||||
d -= dy2
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user