X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Frouting.c;h=1cde444f332322ef41960eec53d2e90f22d30149;hb=a2ba87996225c9056c85f6b333667a07b905af81;hp=9e298a0ee802bf6fed94c816654bd3a8b4a01da2;hpb=e6795eb552a6be88b7870dae14a958ab391bfae8;p=tpg%2Facess2.git diff --git a/Modules/IPStack/routing.c b/Modules/IPStack/routing.c index 9e298a0e..1cde444f 100644 --- a/Modules/IPStack/routing.c +++ b/Modules/IPStack/routing.c @@ -56,9 +56,9 @@ char *IPStack_RouteDir_ReadDir(tVFS_Node *Node, int Pos) } { - int len = sprintf(NULL, "%i", rt->Node.Inode); + int len = sprintf(NULL, "%i", (int)rt->Node.Inode); char buf[len+1]; - sprintf(buf, "%i", rt->Node.Inode); + sprintf(buf, "%i", (int)rt->Node.Inode); return strdup(buf); } }