Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1083 from MartinNowak/fixup1082
Browse files Browse the repository at this point in the history
cast to ulong for %llu on 32-bit
  • Loading branch information
schveiguy committed Jan 5, 2015
2 parents 24c7abf + e3c71d1 commit bd3a2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/gc.d
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ struct Gcx
{
if (GC.config.profile)
{
printf("\tNumber of collections: %llu\n", numCollections);
printf("\tNumber of collections: %llu\n", cast(ulong)numCollections);
printf("\tTotal GC prep time: %lld milliseconds\n",
prepTime.total!("msecs"));
printf("\tTotal mark time: %lld milliseconds\n",
Expand Down

0 comments on commit bd3a2fb

Please sign in to comment.