ddraw/ddraw/hal.c:152: initialization from incompatible pointer type
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 -- Gerald "Jerry" pfeifer(a)dbai.tuwien.ac.at http://www.pfeifer.com/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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+LFoQp7NA3AmQTU4RAuBaAJ4tSjQc63RQglkM5uXWkHaamwSNFwCfck1Q C86FIBaKVOJTZoCjSSC69II= =Ky2l -----END PGP SIGNATURE-----
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 -- Gerald "Jerry" pfeifer(a)dbai.tuwien.ac.at http://www.pfeifer.com/gerald/
participants (2)
-
Gerald Pfeifer -
Raphaël Junqueira