changeset 482:6417071ba2e5

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 01 Sep 2002 00:38:49 +0000
parents c96e2137f9eb
children 32190cba6c40
files test/testvidinfo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/testvidinfo.c	Sun Sep 01 00:37:24 2002 +0000
+++ b/test/testvidinfo.c	Sun Sep 01 00:38:49 2002 +0000
@@ -119,7 +119,7 @@
 	bmp = SDL_LoadBMP("sample.bmp");
 	if ( ! bmp ) {
 		printf("Couldn't load sample.bmp: %s\n", SDL_GetError());
-		return;
+		return 0;
 	}
 	printf("Running freshly loaded blit test: %dx%d at %d bpp, flags: ",
 		bmp->w, bmp->h, bmp->format->BitsPerPixel);
@@ -140,7 +140,7 @@
 	SDL_FreeSurface(tmp);
 	if ( ! bmp ) {
 		printf("Couldn't convert sample.bmp: %s\n", SDL_GetError());
-		return;
+		return 0;
 	}
 	printf("Running display format blit test: %dx%d at %d bpp, flags: ",
 		bmp->w, bmp->h, bmp->format->BitsPerPixel);