From 34082218bfa802dd7982bb86609440455bb9e436 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 18 Jan 2008 02:07:07 +0000 Subject: [PATCH] API: fix compiler warning. svn path=/trunk/boinc/; revision=14589 --- api/texfont.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/texfont.C b/api/texfont.C index 1f9f54aedb..432a6e6dda 100644 --- a/api/texfont.C +++ b/api/texfont.C @@ -469,7 +469,7 @@ void txfGetStringMetrics( } else { tgvi = getTCVI(txf, string[i]); - w += tgvi->advance; + w += (int)tgvi->advance; } } *width = w;