Corrected syntax error in examples/simplereader.c

This commit is contained in:
LinRaymond2006
2025-01-22 09:22:10 -08:00
committed by Thiago Macieira
parent 2dde97f0db
commit aa86c9d08e
+1 -1
View File
@@ -178,7 +178,7 @@ int main(int argc, char **argv)
if (err) {
fprintf(stderr, "CBOR parsing failure at offset %ld: %s\n",
it.ptr - buf, cbor_error_string(err));
it.source.ptr - buf, cbor_error_string(err));
return 1;
}
return 0;