From: John Hodge Date: Fri, 11 Nov 2011 13:57:29 +0000 (+0800) Subject: Modules/IPStack - Fixed x86_64 build error X-Git-Tag: rel0.14~114 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=aed19895fd79f673586565453be0743c4abfea5b;p=tpg%2Facess2.git Modules/IPStack - Fixed x86_64 build error --- diff --git a/Modules/IPStack/interface.c b/Modules/IPStack/interface.c index e08d6505..82d1b8c4 100644 --- a/Modules/IPStack/interface.c +++ b/Modules/IPStack/interface.c @@ -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 );