X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Finterface.c;h=82d1b8c43d14356550946df291599d073eaea92c;hb=a2ba87996225c9056c85f6b333667a07b905af81;hp=74f0cf83ab4b46264931772c2046508b85aa8fe2;hpb=eceedd44a40b713c2adf0ea8e3e864099e97477c;p=tpg%2Facess2.git diff --git a/Modules/IPStack/interface.c b/Modules/IPStack/interface.c index 74f0cf83..82d1b8c4 100644 --- a/Modules/IPStack/interface.c +++ b/Modules/IPStack/interface.c @@ -6,8 +6,8 @@ #define VERSION VER2(0,10) #include "ipstack.h" #include "link.h" -#include -#include +#include +#include // === CONSTANTS === //! Default timeout value, 30 seconds @@ -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 );