From: uz Date: Fri, 11 Dec 2009 14:33:53 +0000 (+0000) Subject: MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep X-Git-Tag: V2.13.1~14 X-Git-Url: https://git.sur5r.net/?p=cc65;a=commitdiff_plain;h=36cf23680ce0318a97acf9d0c1635d37b89727f8 MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep the interface more uniform between the driver APIs. git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index adbd7eeaa..60b69409c 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -5357,7 +5357,7 @@ tgi_init(); //Set up the default palette and clear the screen. / - -#define tgi_sprite(spr) tgi_ioctl(0, (unsigned)(spr)) -#define tgi_flip() tgi_ioctl(1, 0) -#define tgi_setbgcolor(bgcol) tgi_ioctl(2, (unsigned)(bgcol)) -#define tgi_setframerate(rate) tgi_ioctl(3, (unsigned)(rate)) -#define tgi_busy() tgi_ioctl(4, 0) -#define tgi_updatedisplay() tgi_ioctl(4, 1) +#define tgi_sprite(spr) tgi_ioctl(0, (void*)(spr)) +#define tgi_flip() tgi_ioctl(1, (void*)0) +#define tgi_setbgcolor(bgcol) tgi_ioctl(2, (void*)(bgcol)) +#define tgi_setframerate(rate) tgi_ioctl(3, (void*)(rate)) +#define tgi_busy() tgi_ioctl(4, (void*)0) +#define tgi_updatedisplay() tgi_ioctl(4, (void*)1) if (!tgi_busy()) { tgi_sprite(&background); tgi_setcolor(TGI_COLOR_BLUE); @@ -5522,7 +5522,7 @@ be used in presence of a prototype. /