diff options
Diffstat (limited to 'lib/libFS/src/FSGetCats.c')
-rw-r--r-- | lib/libFS/src/FSGetCats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libFS/src/FSGetCats.c b/lib/libFS/src/FSGetCats.c index 75f8c369b..d8fae40fb 100644 --- a/lib/libFS/src/FSGetCats.c +++ b/lib/libFS/src/FSGetCats.c @@ -65,7 +65,7 @@ FSGetCatalogues( int i, length; fsReq *req; - long rlen; + unsigned long rlen; GetEmptyReq(GetCatalogues, req); @@ -87,11 +87,11 @@ FSGetCatalogues( FSfree(list); if (c) FSfree(c); - _FSEatData(svr, (unsigned long) rlen); + _FSEatData(svr, rlen); SyncHandle(); return (char **) NULL; } - _FSReadPad(svr, c, rlen); + _FSReadPad(svr, c, (long) rlen); /* * unpack the strings */ |