From 38b588cc4704f586638615c812ee321a00cc45e1 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 14 Apr 2008 09:19:12 +1000 Subject: [PATCH] suppress sign mismatch compiler diagnostic r2419 | dcl | 2008-04-14 09:19:12 +1000 (Mon, 14 Apr 2008) | 2 lines --- site_ansto/anstohttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_ansto/anstohttp.c b/site_ansto/anstohttp.c index 48ad53a1..a587662d 100644 --- a/site_ansto/anstohttp.c +++ b/site_ansto/anstohttp.c @@ -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;