summaryrefslogtreecommitdiffstats
path: root/src/pacman/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/log.c')
-rw-r--r--src/pacman/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/log.c b/src/pacman/log.c
index 9d719912..ca83df0b 100644
--- a/src/pacman/log.c
+++ b/src/pacman/log.c
@@ -134,7 +134,7 @@ void pm_fprintf(FILE *file, unsigned short line, char *fmt, ...)
fprintf(file, str);
if(needpad == 1) {
- unsigned int i, cols = getcols();
+ int i, cols = getcols();
for(i=len; i < cols; ++i) {
fprintf(file, " ");
}