We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa2dcde + 67c9eb2 commit 4b24687Copy full SHA for 4b24687
disasm/ndisasm.c
@@ -297,7 +297,7 @@ int main(int argc, char **argv)
297
p = q = buffer;
298
nextsync = next_sync(offset, &synclen);
299
do {
300
- uint32_t to_read = buffer + sizeof(buffer) - p;
+ int32_t to_read = buffer + sizeof(buffer) - p;
301
if ((nextsync || synclen) &&
302
to_read > nextsync - offset - (p - q))
303
to_read = nextsync - offset - (p - q);
0 commit comments