API: fix compiler warning.

svn path=/trunk/boinc/; revision=14589
This commit is contained in:
Charlie Fenton 2008-01-18 02:07:07 +00:00
parent 1e5b72068e
commit 34082218bf
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ void txfGetStringMetrics(
}
else {
tgvi = getTCVI(txf, string[i]);
w += tgvi->advance;
w += (int)tgvi->advance;
}
}
*width = w;