image: image_read returns unsigned type
This commit is contained in:
1 parent
79832d9289
commit
0cd7a0c2cc
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user