suppress sign mismatch compiler diagnostic

r2419 | dcl | 2008-04-14 09:19:12 +1000 (Mon, 14 Apr 2008) | 2 lines
This commit is contained in:
Douglas Clowes
2008-04-14 09:19:12 +10:00
parent d2564a7838
commit 38b588cc47

View File

@@ -725,7 +725,7 @@ static int AnstoHttpGetHistogram(pHistDriver self, SConnection *pCon,
}
len = ghttp_get_body_len(pPriv->syncRequest);
if(len < size*sizeof(int)){
if(len < (int) (size*sizeof(int))){
pPriv->errorCode = BODYSHORT;
strncpy(pPriv->hmError,"Not enough data received from HM",511);
return HWFault;