summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
index ae6d406..3d5a923 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
+++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
@@ -43,9 +43,9 @@ int get_field(const char *buffer, char *out)
int send_network_found (const char *guihost, int guiport, void *structure)
{
wl_network_t *ptr;
char buffer[2048], temp[5];
- int len = 0;
+ unsigned int len = 0;
ptr = (wl_network_t *)structure;
/* Type = Found new net (without length field) */
@@ -90,9 +90,9 @@ int send_network_found (const char *guihost, int guiport, void *structure)
int get_network_found (void *structure, const char *buffer)
{
wl_network_t *ptr;
char temp[5];
- int len = 0;
+ unsigned int len = 0;
ptr = (wl_network_t *)structure;
/* packet type already determined, skip check */