Modules/IPStack - Fixed x86_64 build error
authorJohn Hodge <[email protected]>
Fri, 11 Nov 2011 13:57:29 +0000 (21:57 +0800)
committerJohn Hodge <[email protected]>
Fri, 11 Nov 2011 13:57:29 +0000 (21:57 +0800)
Modules/IPStack/interface.c

index e08d650..82d1b8c 100644 (file)
@@ -251,7 +251,7 @@ tInterface *IPStack_AddInterface(const char *Device, const char *Name)
        // Delay setting ImplInt until after the adapter is opened
        // Keeps things simple
        iface->Node.ImplInt = giIP_NextIfaceId++;
-       sprintf(iface->Name, "%i", iface->Node.ImplInt);
+       sprintf(iface->Name, "%i", (int)iface->Node.ImplInt);
        
        // Append to list
        SHORTLOCK( &glIP_Interfaces );

UCC git Repository :: git.ucc.asn.au