File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ int git_win32__stack_format(
9191 } s ;
9292
9393 IMAGEHLP_LINE64 line ;
94- int buf_used = 0 ;
94+ size_t buf_used = 0 ;
9595 unsigned int k ;
9696 char detail [MY_MAX_FILENAME * 2 ]; /* filename plus space for function name and formatting */
97- int detail_len ;
97+ size_t detail_len ;
9898
9999 if (!g_win32_stack_initialized ) {
100100 git_error_set (GIT_ERROR_INVALID , "git_win32_stack not initialized." );
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ typedef void (*git_win32__stack__aux_cb_alloc)(unsigned int *aux_id);
3838 * @param aux_msg A buffer where a formatted message should be written.
3939 * @param aux_msg_len The size of the buffer.
4040 */
41- typedef void (* git_win32__stack__aux_cb_lookup )(unsigned int aux_id , char * aux_msg , unsigned int aux_msg_len );
41+ typedef void (* git_win32__stack__aux_cb_lookup )(unsigned int aux_id , char * aux_msg , size_t aux_msg_len );
4242
4343/**
4444 * Register an "aux" data provider to augment our C stacktrace data.
You can’t perform that action at this time.
0 commit comments