mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
fix: conversion
This commit is contained in:
parent
d074b5593c
commit
159c0c91f6
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ void bc_disasm(PycRef<PycCode> code, PycModule* mod, int indent)
|
|||
} else if (Pyc::IsJumpOffsetArg(opcode)) {
|
||||
fprintf(pyc_output, "%d (to %d)", operand, pos+operand);
|
||||
} else if (Pyc::IsCompareArg(opcode)) {
|
||||
if (operand < cmp_strings_len)
|
||||
if (static_cast<size_t>(operand) < cmp_strings_len)
|
||||
fprintf(pyc_output, "%d (%s)", operand, cmp_strings[operand]);
|
||||
else
|
||||
fprintf(pyc_output, "%d (UNKNOWN)", operand);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue