diff --git a/optar.c b/optar.c index c6c9d13..1f2cba1 100644 --- a/optar.c +++ b/optar.c @@ -109,7 +109,7 @@ void border(void) memset(ptr,0,BORDER*WIDTH); } -void cross(x,y) +void cross(int x, int y) { unsigned char *ptr=ary+y*WIDTH+x; unsigned c; @@ -132,7 +132,7 @@ void crosses(void) } /* x is in the range 0 to DATA_WIDTH-1 */ -void text_block (destx, srcx, width) +void text_block (int destx, int srcx, int width) { int x, y; unsigned char *srcptr;