Skip to content

Commit 9ee3f44

Browse files
Fixed error: no matching function for call to PyFloat_Pack2 (#4711)
Fixes #4710
1 parent 7c9476e commit 9ee3f44

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
@@ -601,7 +601,7 @@ def format_of(ty):
601601
#if 0x030600B1 <= PY_VERSION_HEX && PY_VERSION_HEX <= 0x030B00A1 && !defined(PYPY_VERSION)
602602
_PyFloat_Pack2(f, (unsigned char *)&result, 1);
603603
#else
604-
PyFloat_Pack2(f, (void*)&result, 1);
604+
PyFloat_Pack2(f, (char*)&result, 1);
605605
#endif
606606
return result;
607607
}}

0 commit comments

Comments
 (0)