Signed-off-by: Allan McRae <[email protected]>
---
wint_t appears to be the same as size_t or unsigned long. It probably best if
someone checks that is the right format specifier on x86_64 too...
src/pacman/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 5b4b2e8..8dc1571 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -261,7 +261,7 @@ void indentprint(const char *str, int indent)
}
continue;
}
- printf("%lc", (wint_t)*p);
+ printf("%u", (wint_t)*p);
cidx += wcwidth(*p);
p++;
}
--
1.7.3.1