fix compile issues
This commit is contained in:
@@ -187,6 +187,10 @@ struct UdpNetworkedInternalData
|
|||||||
printf("%s disconected.\n", m_event.peer->data);
|
printf("%s disconected.\n", m_event.peer->data);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
printf("unknown event type: %d.\n", m_event.type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (serviceResult > 0)
|
else if (serviceResult > 0)
|
||||||
@@ -258,6 +262,10 @@ struct UdpNetworkedInternalData
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
printf("unknown event type: %d.\n", m_event.type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (serviceResult > 0)
|
else if (serviceResult > 0)
|
||||||
|
|||||||
@@ -1482,7 +1482,7 @@ static PyObject* pybullet_resetVisualShapeData(PyObject* self, PyObject* args)
|
|||||||
static PyObject* pybullet_loadTexture(PyObject* self, PyObject* args)
|
static PyObject* pybullet_loadTexture(PyObject* self, PyObject* args)
|
||||||
{
|
{
|
||||||
int size = PySequence_Size(args);
|
int size = PySequence_Size(args);
|
||||||
const char* filename = -1;
|
const char* filename = 0;
|
||||||
b3SharedMemoryCommandHandle commandHandle;
|
b3SharedMemoryCommandHandle commandHandle;
|
||||||
b3SharedMemoryStatusHandle statusHandle;
|
b3SharedMemoryStatusHandle statusHandle;
|
||||||
int statusType;
|
int statusType;
|
||||||
|
|||||||
Reference in New Issue
Block a user