Skip to content

Commit 9313647

Browse files
committed
Fix printf argument size on x64.
1 parent 8193e0d commit 9313647

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/source/dmdscript/irstate.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct IRstate
6262
{
6363
assert(codebuf.offset <= codebuf.data.length);
6464
if(codebuf.data.length > codebuf.data.capacity)
65-
printf("ptr %p, length %d, capacity %d\n", codebuf.data.ptr, codebuf.data.length, core.memory.GC.sizeOf(codebuf.data.ptr));
65+
printf("ptr %p, length %d, capacity %d\n", codebuf.data.ptr, cast(uint)codebuf.data.length, cast(uint)core.memory.GC.sizeOf(codebuf.data.ptr));
6666
assert(codebuf.data.length <= codebuf.data.capacity);
6767
for(uint u = 0; u < codebuf.offset; )
6868
{

0 commit comments

Comments
 (0)