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.
1 parent dc4a619 commit 67c9eb2Copy full SHA for 67c9eb2
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