diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2013-01-11 15:39:14 +0100 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2013-01-11 19:31:00 +0100 |
| commit | f3738eba56cd6bafe1befea90a35a0b26600491c (patch) | |
| tree | 7120e039fceca5871ef912101ef9dddde50bea39 | |
| parent | 090d5e1fdabc1245515fa887cab67457c37e709b (diff) | |
| download | libgit2-f3738eba56cd6bafe1befea90a35a0b26600491c.tar.gz | |
Fix MSVC Clar compilation warnings
| -rw-r--r-- | tests-clar/clar/fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/clar/fs.h b/tests-clar/clar/fs.h index 1cdc1ce2f..b7a1ff9d2 100644 --- a/tests-clar/clar/fs.h +++ b/tests-clar/clar/fs.h @@ -46,7 +46,7 @@ fs_rmdir_helper(WCHAR *_wsource) WCHAR buffer[MAX_PATH]; HANDLE find_handle; WIN32_FIND_DATAW find_data; - int buffer_prefix_len; + size_t buffer_prefix_len; /* Set up the buffer and capture the length */ wcscpy_s(buffer, MAX_PATH, _wsource); @@ -153,7 +153,7 @@ fs_copydir_helper(WCHAR *_wsource, WCHAR *_wdest) WCHAR buf_source[MAX_PATH], buf_dest[MAX_PATH]; HANDLE find_handle; WIN32_FIND_DATAW find_data; - int buf_source_prefix_len, buf_dest_prefix_len; + size_t buf_source_prefix_len, buf_dest_prefix_len; wcscpy_s(buf_source, MAX_PATH, _wsource); wcscat_s(buf_source, MAX_PATH, L"\\"); |
