larku / RakNet

RakNet is a cross platform, open source, C++ networking engine for game programmers.
Other
60 stars 27 forks source link

Removes deprecation build warning #16

Closed larku closed 9 years ago

larku commented 9 years ago

Changing the return type form char* to const char* removes a build warnings: “NatPunchthroughClient.cpp:800:11: Conversion from string literal to 'char *' is deprecated”

Only tested on Mac Xcode 5.1.1 and a gcc compile running on Android (targeting 2.3 API level 10)