We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dde97f commit aa86c9dCopy full SHA for aa86c9d
examples/simplereader.c
@@ -178,7 +178,7 @@ int main(int argc, char **argv)
178
179
if (err) {
180
fprintf(stderr, "CBOR parsing failure at offset %ld: %s\n",
181
- it.ptr - buf, cbor_error_string(err));
+ it.source.ptr - buf, cbor_error_string(err));
182
return 1;
183
}
184
return 0;
0 commit comments