summaryrefslogtreecommitdiff
path: root/ACE/apps/gperf/tests/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/gperf/tests/test.cpp')
-rw-r--r--ACE/apps/gperf/tests/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/apps/gperf/tests/test.cpp b/ACE/apps/gperf/tests/test.cpp
index e5fda938430..0333e3f3b70 100644
--- a/ACE/apps/gperf/tests/test.cpp
+++ b/ACE/apps/gperf/tests/test.cpp
@@ -23,7 +23,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
while (ACE_OS::fgets (buf, sizeof buf, stdin) != 0)
{
- int len = ACE_OS::strlen (buf) - 1;
+ size_t len = ACE_OS::strlen (buf) - 1;
buf[len] = '\0';
if (in_word_set (buf, len) && verbose)
ACE_OS::printf ("in word set %s\n", buf);