Skip to content

Commit

Permalink
hdrgen.d: fix printf format
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Oct 16, 2019
1 parent 5f168a3 commit 83e502a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmd/hdrgen.d
Expand Up @@ -1804,7 +1804,7 @@ public:
// BUG: need to cast(dchar)
if (cast(uinteger_t)v > 0xFF)
{
buf.printf("'\\U%08x'", v);
buf.printf("'\\U%08llx'", cast(long)v);
break;
}
goto case;
Expand Down

0 comments on commit 83e502a

Please sign in to comment.