diff options
| author | manuel <manuel@mausz.at> | 2011-04-12 21:32:44 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-12 21:32:44 +0200 |
| commit | 26c2af49cc410b7bd2ea6017a5454381087e960b (patch) | |
| tree | 8dd9782767729b4edab0132d673b2c6807d4f406 /pacman-c++/util.h | |
| parent | 6af8e7795da1e86745364af1538fa76d4e0fc07e (diff) | |
| download | foop-26c2af49cc410b7bd2ea6017a5454381087e960b.tar.gz foop-26c2af49cc410b7bd2ea6017a5454381087e960b.tar.bz2 foop-26c2af49cc410b7bd2ea6017a5454381087e960b.zip | |
- socket.write returns signed integer
- make waka sound working
Diffstat (limited to 'pacman-c++/util.h')
| -rw-r--r-- | pacman-c++/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/util.h b/pacman-c++/util.h index 9f7f784..e0f1264 100644 --- a/pacman-c++/util.h +++ b/pacman-c++/util.h | |||
| @@ -23,6 +23,6 @@ namespace Util | |||
| 23 | 23 | ||
| 24 | // send packet with error check and flush | 24 | // send packet with error check and flush |
| 25 | void sendPacket(const ::google::protobuf::Message& packet, QTcpSocket *socket); | 25 | void sendPacket(const ::google::protobuf::Message& packet, QTcpSocket *socket); |
| 26 | void sendPacket(const char *data, unsigned int length, QTcpSocket *socket); | 26 | void sendPacket(const char *data, int length, QTcpSocket *socket); |
| 27 | } | 27 | } |
| 28 | #endif // UTIL_H | 28 | #endif // UTIL_H |
