image: image_read returns unsigned type

This commit is contained in:
Pali Rohár committed 2013-04-21 17:52:51 +02:00
1 parent 79832d9289
commit 0cd7a0c2cc
1 file changed
+1 -1
+1 -1
View File
@@ -368,7 +368,7 @@ size_t image_read(struct image * image, void * buf, size_t count) {
IMAGE_STORE_CUR(image); IMAGE_STORE_CUR(image);
if ( ret < 0 ) if ( ret < 0 )
return ret; return 0;
} }