Ticket #4994: compile-fix-for-Python32.patch
File compile-fix-for-Python32.patch, 618 bytes (added by , 12 years ago) |
---|
-
libs/python/src/converter/builtin_converters.cpp
431 431 if (!result.empty()) 432 432 { 433 433 int err = PyUnicode_AsWideChar( 434 (PyUnicodeObject *)intermediate 434 #if PY_VERSION_HEX >= 0x03020000 435 intermediate 436 #else 437 (PyUnicodeObject *)intermediate 438 #endif 435 439 , &result[0] 436 440 , result.size()); 437 441