Changeset 44372f182926a8aa8ea5d182a951919357270930

Show
Ignore:
Timestamp:
09/04/08 10:42:29 (8 months ago)
Author:
Jean-Paul Saman <jean-paul.saman@m2x.nl>
git-committer:
Jean-Paul Saman <jean-paul.saman@m2x.nl> 1207730549 +0200
git-parent:

[60f260e0d65b8dce96f356dda73f5dc31a6ff705]

git-author:
Jean-Paul Saman <jean-paul.saman@m2x.nl> 1206528618 +0100
Message:

Fix compiler warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/misc/Makefile

    r16d46a1 r44372f1  
    1 all: zsh overlay-test 
     1all: overlay-test 
    22 
    33overlay-test: overlay-test.c 
  • extras/misc/overlay-test.c

    r60f260e r44372f1  
    273273    printf( "Attaching shared memory for RGBA..." ); 
    274274    p_imageRGBA = shmat( i_shmRGBA, NULL, 0 ); 
    275     if( p_imageRGBA == -1 ) { 
     275    if( p_imageRGBA == (void*)-1 ) { 
    276276        printf( " failed\n" ); 
    277277        exit( -1 ); 
     
    279279    printf( " done. Text..." ); 
    280280    p_text = shmat( i_shmText, NULL, 0 ); 
    281     if( p_text == -1 ) { 
     281    if( p_text == (void*)-1 ) { 
    282282        printf( " failed\n" ); 
    283283        exit( -1 );