diff --git a/src/sbbs3/userdat.c b/src/sbbs3/userdat.c index 21e8f1d0470dfce65785881bb481e7396ad9ef5f..5edf3ccf5d6e440d5a4ed6a0eef27716051a5fa8 100644 --- a/src/sbbs3/userdat.c +++ b/src/sbbs3/userdat.c @@ -2087,7 +2087,7 @@ int DLLCALL putuserrec(scfg_t* cfg, int usernumber,int start, uint length, const return(-3); } - ssize_t wr = write(file, str2, length); + int wr = write(file, str2, length); unlock(file,(long)((long)(usernumber-1)*U_LEN)+start,length); close(file); if(wr != length)