From 26c2af49cc410b7bd2ea6017a5454381087e960b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 12 Apr 2011 21:32:44 +0200 Subject: - socket.write returns signed integer - make waka sound working --- pacman-c++/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacman-c++/util.h') 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 // send packet with error check and flush void sendPacket(const ::google::protobuf::Message& packet, QTcpSocket *socket); - void sendPacket(const char *data, unsigned int length, QTcpSocket *socket); + void sendPacket(const char *data, int length, QTcpSocket *socket); } #endif // UTIL_H -- cgit v1.2.3