mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-13 22:48:43 +03:00
Another big-endian fix. (Don't lie to [s]printf...)
This commit is contained in:
parent
7e99e31b91
commit
9af4c078a0
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ void DtoOverloadedIntrinsicName(TemplateInstance* ti, TemplateDeclaration* td, s
|
||||||
}
|
}
|
||||||
|
|
||||||
char tmp[21]; // probably excessive, but covers a uint64_t
|
char tmp[21]; // probably excessive, but covers a uint64_t
|
||||||
sprintf(tmp, "%lu", gTargetData->getTypeSizeInBits(DtoType(T)));
|
sprintf(tmp, "%lu", (unsigned long) gTargetData->getTypeSizeInBits(DtoType(T)));
|
||||||
|
|
||||||
// replace # in name with bitsize
|
// replace # in name with bitsize
|
||||||
name = td->intrinsicName;
|
name = td->intrinsicName;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue