mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Fix warnings on x86-64. By fvbommel.
This commit is contained in:
parent
cc6bde46f9
commit
cdbc4f84d2
13 changed files with 27 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue