Skip to content

Commit 34f2dce

Browse files
committed
Use 'long long' type for int64_t
because 'long int' is 32-bit on Windows even in x86_64 mode so large numbers cause OverflowError in PyArg_ParseTuple function. Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 79937ce commit 34f2dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/backend/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def format_of(ty):
205205
"int8_t": "b",
206206
"int16_t": "h",
207207
"int32_t": "i",
208-
"int64_t": "l",
208+
"int64_t": "L",
209209
"uint8_t": "B",
210210
"uint16_t": "H",
211211
"uint32_t": "I",

0 commit comments

Comments
 (0)