mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
size_t instead of ssize_t
This commit is contained in:
parent
ed96c41005
commit
221ccdb67a
1 changed files with 1 additions and 3 deletions
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
|
||||
#define DECLARE_PYTHON(maj, min) \
|
||||
|
|
@ -334,7 +332,7 @@ void bc_disasm(PycRef<PycCode> code, PycModule* mod, int indent)
|
|||
"<", "<=", "==", "!=", ">", ">=", "in", "not in", "is", "is not",
|
||||
"<EXCEPTION MATCH>", "<BAD>"
|
||||
};
|
||||
static const ssize_t cmp_strings_len = sizeof(cmp_strings) / sizeof(cmp_strings[0]);
|
||||
static const size_t cmp_strings_len = sizeof(cmp_strings) / sizeof(cmp_strings[0]);
|
||||
|
||||
PycBuffer source(code->code()->value(), code->code()->length());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue