The following
static DDHALDDRAWFNS hal_funcs = { sizeof(DDHALDDRAWFNS), ===>set_hal_info,<=== NULL, /* VidMemAlloc */ NULL /* VidMemFree */ };
in dlls/ddraw/ddraw/hal.c causes GCC 3.2 (on SuSE Linux 8.1) to warn:
ddraw/hal.c:152: warning: initialization from incompatible pointer type
Could someone please have a look?
Thanks, Gerald
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday 20 January 2003 11:52, Gerald Pfeifer wrote:
The following
static DDHALDDRAWFNS hal_funcs = { sizeof(DDHALDDRAWFNS), ===>set_hal_info,<=== NULL, /* VidMemAlloc */ NULL /* VidMemFree */ };
in dlls/ddraw/ddraw/hal.c causes GCC 3.2 (on SuSE Linux 8.1) to warn:
ddraw/hal.c:152: warning: initialization from incompatible pointer type
Could someone please have a look?
Hi, can you test this patch (it fix this stupid warning for me)
Thanks, Gerald
Raphael
On Mon, 20 Jan 2003, Raphaël Junqueira wrote:
ddraw/hal.c:152: warning: initialization from incompatible pointer type
can you test this patch (it fix this stupid warning for me)
Yes, thanks; this also fixes this warning for me!
Gerald