diff options
Diffstat (limited to 'sdl/math3d.c')
-rw-r--r-- | sdl/math3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl/math3d.c b/sdl/math3d.c index cdfb8cd..7baad85 100644 --- a/sdl/math3d.c +++ b/sdl/math3d.c @@ -611,7 +611,7 @@ GLbyte *gltLoadTGA(const char *szFileName, GLint *iWidth, GLint *iHeight, if (pBits == NULL) { perror("malloc"); - return 0; + return NULL; } /* read in the bits */ |