Re: [AD] Allegro 4.2.0 beta 4 deadline |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Monday 27 June 2005 08:18, Peter Hull wrote:
> One warning on OSX:
> examples/exlights.c:369: warning: assignment from incompatible pointer
> type
Proposed patch attached, but I'd like to hear if this is the correct fix or
if I should change the datatype instead. I don't consider this crucial
enough to fix before the beta release though.
> Unfortunately, though, the demo game doesn't seem to get built (it
> doesn't even try) Is this normal?
No, it's not. Seems to be a MacOS X thing though; it gets build here... I'm
curious to know if it builds normally on Windows?
Also, try what happens if you run `make depend'.
Evert
Index: examples/exlights.c
===================================================================
RCS file: /cvsroot/alleg/allegro/examples/exlights.c,v
retrieving revision 1.13
diff -u -r1.13 exlights.c
--- examples/exlights.c 15 May 2005 07:33:23 -0000 1.13
+++ examples/exlights.c 27 Jun 2005 07:18:02 -0000
@@ -366,7 +366,7 @@
for (y=0; y<SCREEN_H; y++) {
addr = bmp_write_line(screen, y);
- data = (unsigned long *)bmp->line[y];
+ data = (uint32_t *)bmp->line[y];
for (x=0; x<SCREEN_W/4; x++) {
in1 = *(data++);