mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 22:13:07 -04:00
Change parameters of moveto() and lineto() to signed
The corresponding members of struct vec are signed, as are most of the arguments passed to the functions, so it's silly that the parameters themselves are unsigned. This takes the number of warnings under clang -Weverything down from 126 to 30. This doesn't cause any change to the output TTX files.
This commit is contained in:
parent
8ff354a9fd
commit
61967c8094
@ -3702,7 +3702,7 @@ clearpath(void)
|
||||
}
|
||||
|
||||
static void
|
||||
moveto(unsigned x, unsigned y)
|
||||
moveto(int x, int y)
|
||||
{
|
||||
struct point *p = &points[nextpoint++];
|
||||
|
||||
@ -3711,7 +3711,7 @@ moveto(unsigned x, unsigned y)
|
||||
}
|
||||
|
||||
static void
|
||||
lineto(unsigned x, unsigned y)
|
||||
lineto(int x, int y)
|
||||
{
|
||||
struct point *p = &points[nextpoint++];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user