From da2c677c7aab08483fd3b4e086854dd3a5ce0def Mon Sep 17 00:00:00 2001 From: gumartinm Date: Sun, 23 Dec 2012 19:48:37 +0100 Subject: [PATCH] Fixed error in sizeof for unsigned char. --- Daemon/javafork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Daemon/javafork.c b/Daemon/javafork.c index 86a1062..7b0602d 100644 --- a/Daemon/javafork.c +++ b/Daemon/javafork.c @@ -287,7 +287,7 @@ void *serverThread (void * arg) /*respectively*/ uint32_t commandLength = 0; /*Store the command length*/ unsigned char *command = NULL; /*The command sent by the client as bytes, to be executed by this process*/ - unsigned char buffer[sizeof(uint32_t)]; /*This buffer is intended to store the data received from the client*/ + unsigned char buffer[sizeof(unsigned char)]; /*This buffer is intended to store the data received from the client*/ socket = (int) arg; -- 2.1.4