Fix warnings on x86-64. By fvbommel.

This commit is contained in:
Christian Kamm 2008-11-28 21:24:08 +01:00
parent cc6bde46f9
commit cdbc4f84d2
13 changed files with 27 additions and 26 deletions

View file

@ -1649,7 +1649,7 @@ void DtoOverloadedIntrinsicName(TemplateInstance* ti, TemplateDeclaration* td, s
if (T->toBasetype()->ty == Tbool) // otherwise we'd get a mismatch
sprintf(tmp, "1");
else
sprintf(tmp, "%d", T->size()*8);
sprintf(tmp, "%lu", T->size()*8);
// replace # in name with bitsize
name = td->intrinsicName;