diff options
author | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 10:27:20 +0200 |
---|---|---|
committer | Tobias Frust <tobiasfrust@gmail.com> | 2016-06-30 10:27:20 +0200 |
commit | dbf28e725f062744222559257abe64d8a39a9d50 (patch) | |
tree | 046cdf556175423454c4b012db82499b02ef04ff /src/main_server.cpp | |
parent | 5680aa99001cb50c707c4187cd8ada0c41a573dd (diff) | |
download | ods-dbf28e725f062744222559257abe64d8a39a9d50.tar.gz ods-dbf28e725f062744222559257abe64d8a39a9d50.tar.bz2 ods-dbf28e725f062744222559257abe64d8a39a9d50.tar.xz ods-dbf28e725f062744222559257abe64d8a39a9d50.zip |
bug fixes
Diffstat (limited to 'src/main_server.cpp')
-rw-r--r-- | src/main_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_server.cpp b/src/main_server.cpp index 267023f..167dfca 100644 --- a/src/main_server.cpp +++ b/src/main_server.cpp @@ -16,7 +16,7 @@ int main (int argc, char *argv[]){ unsigned short buf[length]; - server.recv(buf, length*sizeof(unsigned short)); + server.recv((char *)buf, length*sizeof(unsigned short)); for(auto i = 0; i < length; i++){ printf("%i ", buf[i]); |