summaryrefslogtreecommitdiffhomepage
path: root/src/string
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 15:32:16 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:26 -0400
commiteed8dcd8b2e363ea5083416539ee19fe4b531a9d (patch)
treea82d62c3ac4c25d9e2b63dabb8b33adfd410ce3e /src/string
parent62cbabd799b4989d8028031e5c2e27304d45e437 (diff)
downloadntapi-eed8dcd8b2e363ea5083416539ee19fe4b531a9d.tar.bz2
ntapi-eed8dcd8b2e363ea5083416539ee19fe4b531a9d.tar.xz
__ntapi_tt_generic_memset(): properly handle signedness.
Diffstat (limited to 'src/string')
-rw-r--r--src/string/ntapi_tt_aligned_block_memset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/ntapi_tt_aligned_block_memset.c b/src/string/ntapi_tt_aligned_block_memset.c
index 6bc8aa4..7fa5d09 100644
--- a/src/string/ntapi_tt_aligned_block_memset.c
+++ b/src/string/ntapi_tt_aligned_block_memset.c
@@ -26,7 +26,7 @@ void * __cdecl __ntapi_tt_generic_memset(
{
char c;
char * ch;
- int i;
+ size_t i;
size_t abytes;
if (!bytes)