PUD: nwif: txTtl must be an int
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 5 Jun 2012 20:22:59 +0000 (22:22 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 7 Jun 2012 22:30:04 +0000 (00:30 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/networkInterfaces.c

index 6f16595..5cd7d38 100644 (file)
@@ -316,7 +316,7 @@ static int createTxSocket(TRxTxNetworkInterface * networkInterface) {
        int txSocket = -1;
 
        int mcLoopValue = 0;
-       unsigned char txTtl = getTxTtl();
+       int txTtl = getTxTtl();
 
        assert(networkInterface != NULL);
        assert(strncmp((char *) &networkInterface->name[0], "",