mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 09:33:27 +01:00
Fix warnings on x86-64. By fvbommel.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user