diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-07-03 18:38:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-07-03 18:38:05 +0000 |
commit | 1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1 (patch) | |
tree | 54c7b6b4bbaf2e493e773f9e48d7eb459f60f197 /mdk-stage1/newt/grid.c | |
parent | a3fd355593f7ab9ae5c6d57ec69ef3f5a2f8cb9a (diff) | |
download | drakx-1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1.tar drakx-1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1.tar.gz drakx-1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1.tar.bz2 drakx-1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1.tar.xz drakx-1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1.zip |
compile with -W
Diffstat (limited to 'mdk-stage1/newt/grid.c')
-rw-r--r-- | mdk-stage1/newt/grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/newt/grid.c b/mdk-stage1/newt/grid.c index 433011396..37d2b2e74 100644 --- a/mdk-stage1/newt/grid.c +++ b/mdk-stage1/newt/grid.c @@ -244,7 +244,7 @@ void newtGridWrappedWindow(newtGrid grid, char * title) { int width, height, offset = 0; newtGridGetSize(grid, &width, &height); - if (width < strlen(title) + 2) { + if ((size_t)width < strlen(title) + 2) { offset = ((strlen(title) + 2) - width) / 2; width = strlen(title) + 2; } |