mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix a few issues with more strict modern compilers
This commit is contained in:
@ -51,7 +51,7 @@ PyObject* cyAccountManagement::GetPlayerList()
|
||||
for (int i = 0; i < numPlayers; ++i)
|
||||
{
|
||||
PyObject* playerTuple = PyTuple_New(3);
|
||||
PyObject* playerName = PyUnicode_FromUnicode(playerList[i].playerName, wcslen(playerList[i].playerName));
|
||||
PyObject* playerName = PyUnicode_FromUnicode((const Py_UNICODE*)playerList[i].playerName, wcslen(playerList[i].playerName));
|
||||
PyObject* playerId = PyInt_FromLong(playerList[i].playerInt);
|
||||
PyObject* avatarShape = PyString_FromString(playerList[i].avatarDatasetName);
|
||||
|
||||
|
Reference in New Issue
Block a user