*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sun, 01 Sep 2002 00:38:49 +0000
changeset 482 6417071ba2e5
parent 481 c96e2137f9eb
child 483 32190cba6c40
*** empty log message ***
test/testvidinfo.c
--- 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);