diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-25 14:46:31 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-25 15:22:46 +0100 |
| commit | f48cf5b3a004c9cf4c3adac7187e4e793f305d1b (patch) | |
| tree | 21b9e0674f2f03d5e499efed450b80669d5761ae /src/win32/w32_stack.c | |
| parent | 6b2240542a70f6adb4fbdc7afcbe827dbedbe28b (diff) | |
| download | libgit2-f48cf5b3a004c9cf4c3adac7187e4e793f305d1b.tar.gz | |
w32_stack: treat a len as an size_t
Diffstat (limited to 'src/win32/w32_stack.c')
| -rw-r--r-- | src/win32/w32_stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/w32_stack.c b/src/win32/w32_stack.c index 6eb71962a..67a50ef34 100644 --- a/src/win32/w32_stack.c +++ b/src/win32/w32_stack.c @@ -91,10 +91,10 @@ int git_win32__stack_format( } s; IMAGEHLP_LINE64 line; - int buf_used = 0; + size_t buf_used = 0; unsigned int k; char detail[MY_MAX_FILENAME * 2]; /* filename plus space for function name and formatting */ - int detail_len; + size_t detail_len; if (!g_win32_stack_initialized) { git_error_set(GIT_ERROR_INVALID, "git_win32_stack not initialized."); |
