diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-04-02 23:03:09 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-04-02 23:03:09 +0000 |
commit | 7ec50f12252b4dfb97f3249ccf05a771b98785c1 (patch) | |
tree | 279e4e8bd7b940368331a43869c165de9637ae99 /source/ui_atoms.c | |
parent | 80e48417564f1ce50a39a7c552ad95e651362c1f (diff) |
Use size_t instead of int where possible.
Added initial support for Win64 port.
Diffstat (limited to 'source/ui_atoms.c')
-rw-r--r-- | source/ui_atoms.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/ui_atoms.c b/source/ui_atoms.c index 14673fc..45976ca 100644 --- a/source/ui_atoms.c +++ b/source/ui_atoms.c @@ -250,9 +250,10 @@ UI_FormatColumns void *UI_FormatColumns( int extrasize, ... ) { va_list argptr; char *buffer, *p; - int i, j, total = 0; + int i, j; + size_t total = 0; char *strings[MAX_COLUMNS]; - int lengths[MAX_COLUMNS]; + size_t lengths[MAX_COLUMNS]; va_start( argptr, extrasize ); for( i = 0; i < MAX_COLUMNS; i++ ) { |