Skip to content

Commit 4359614

Browse files
committed
kprintf: fix inverted assignment
1 parent a84d0a2 commit 4359614

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libogc/kprintf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ void dietPrintV(const char* fmt, va_list va)
379379
// Fast path when the upper 32 bits aren't actually used
380380
if ((u.arg_u64 >> 32) == 0) {
381381
flags &= ~DP_FLAG_64;
382-
u.arg_u64 = u.arg_u32;
382+
u.arg_u32 = u.arg_u64;
383383
}
384384
}
385385

0 commit comments

Comments
 (0)