Skip to content

Commit 798b1aa

Browse files
committed
fix clang build on linux/mac
1 parent 36b130e commit 798b1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/UnrealEnginePython.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ FString FUnrealEnginePythonModule::Pep8ize(FString Code) {
303303
return Code;
304304
}
305305

306-
PyObject *ret = PyObject_CallFunction(pep8izer_func, "s", TCHAR_TO_UTF8(*Code));
306+
PyObject *ret = PyObject_CallFunction(pep8izer_func, (char *)"s", TCHAR_TO_UTF8(*Code));
307307
if (!ret) {
308308
unreal_engine_py_log_error();
309309
// return the original string to avoid losing data

0 commit comments

Comments
 (0)