From 80763cc1d0eb5bce652e72152c8db542252080d7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 2 Jul 2004 22:03:23 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3758 --- lib/miofile.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/miofile.C b/lib/miofile.C index 0bcc12d75a..9a15bf589b 100644 --- a/lib/miofile.C +++ b/lib/miofile.C @@ -75,7 +75,7 @@ char* MIOFILE::fgets(char* dst, int len) { if (!q) return 0; q++; - int n = q - buf; + int n = (int)(q - buf); if (n > len-1) n = len-1; memcpy(dst, buf, n); dst[n] = 0;