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

Commit

Permalink
cast to ulong for %llu on 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Jan 5, 2015
1 parent 24c7abf commit e3c71d1
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 e3c71d1

Please sign in to comment.