Fix compile warnings for GwenOpenGLTest and Test_enet_chat_client.

This commit is contained in:
Jeffrey Bingham
2017-09-30 13:13:46 -07:00
parent 6e4707df5f
commit febbb92fb6
2 changed files with 4 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
break;
case ENET_EVENT_TYPE_RECEIVE:
printf("A packet of length %u containing '%s' was "
printf("A packet of length %lu containing '%s' was "
"received from %s on channel %u.\n",
event.packet->dataLength,
event.packet->data,
@@ -83,6 +83,8 @@ int main(int argc, char *argv[])
event.peer->data = NULL;
break;
case ENET_EVENT_TYPE_NONE:
break;
}
}