diff --git a/test/SharedMemory/test.c b/test/SharedMemory/test.c index 9dec36e92..e475a4705 100644 --- a/test/SharedMemory/test.c +++ b/test/SharedMemory/test.c @@ -335,9 +335,9 @@ int main(int argc, char* argv[]) #ifdef PHYSICS_IN_PROCESS_EXAMPLE_BROWSER #ifdef __APPLE__ - b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv,1); + b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv); #else - b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv,1); + b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv); #endif //__APPLE__ #endif diff --git a/test/enet/chat/client/main.cpp b/test/enet/chat/client/main.cpp index 8f4a9ea99..8aff0f699 100644 --- a/test/enet/chat/client/main.cpp +++ b/test/enet/chat/client/main.cpp @@ -122,7 +122,7 @@ int main(int argc, char* argv[]) { #ifdef _WIN32 gets_s(message, 1024); #else - gets(message); + fgets(message,1024,stdin); #endif if (strcmp(message, "exit") == 0 || strcmp(message, "quit") == 0) {