Fix a "return false as char*" typo.

This commit is contained in:
Nigel Tao committed 2017-11-03 11:15:38 +11:00
1 parent 7f47f19d4a
commit b7f347d406
1 file changed
+1 -1
+1 -1
View File
@@ -242,7 +242,7 @@ bool read_file(puffs_base__buf1* dst, const char* path) {
char* hex_dump(char* msg, puffs_base__buf1* buf, size_t i) {
if (!msg || !buf) {
FAIL("hex_dump: NULL argument");
return false;
return NULL;
}
if (buf->wi == 0) {
return msg;