fix compile issues

This commit is contained in:
Erwin Coumans
2016-11-09 12:22:05 -08:00
parent 2bb53b311d
commit 6701947684
2 changed files with 9 additions and 1 deletions

View File

@@ -187,6 +187,10 @@ struct UdpNetworkedInternalData
printf("%s disconected.\n", m_event.peer->data);
break;
default:
{
printf("unknown event type: %d.\n", m_event.type);
}
}
}
else if (serviceResult > 0)
@@ -258,6 +262,10 @@ struct UdpNetworkedInternalData
break;
}
default:
{
printf("unknown event type: %d.\n", m_event.type);
}
}
}
else if (serviceResult > 0)

View File

@@ -1482,7 +1482,7 @@ static PyObject* pybullet_resetVisualShapeData(PyObject* self, PyObject* args)
static PyObject* pybullet_loadTexture(PyObject* self, PyObject* args)
{
int size = PySequence_Size(args);
const char* filename = -1;
const char* filename = 0;
b3SharedMemoryCommandHandle commandHandle;
b3SharedMemoryStatusHandle statusHandle;
int statusType;