summaryrefslogtreecommitdiff
path: root/ace/ARGV.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-27 21:44:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-27 21:44:14 +0000
commit0cc5504a5c8a958101a09accb21c135281d5e9ff (patch)
treea38b7d21b5f25b5ef5548a423339c747f056059c /ace/ARGV.cpp
parent997479406012dab3e5e787d3a724bf5f2fd2b04c (diff)
downloadATCD-0cc5504a5c8a958101a09accb21c135281d5e9ff.tar.gz
Jamming!
Diffstat (limited to 'ace/ARGV.cpp')
-rw-r--r--ace/ARGV.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/ARGV.cpp b/ace/ARGV.cpp
index c7f63b0b001..184b9c96ad5 100644
--- a/ace/ARGV.cpp
+++ b/ace/ARGV.cpp
@@ -100,7 +100,7 @@ ACE_ARGV::ACE_ARGV (char buf[],
for (cp = arg;
*buf != '\0' && *buf != quote;
buf++, cp++)
- if (cp - arg < sizeof arg)
+ if (unsigned (cp - arg) < sizeof arg)
*cp = *buf;
*cp = '\0';
@@ -112,7 +112,7 @@ ACE_ARGV::ACE_ARGV (char buf[],
for (cp = arg;
*buf && !isspace (*buf);
buf++, cp++)
- if (cp - arg < sizeof arg)
+ if (unsigned (cp - arg) < sizeof arg)
*cp = *buf;
*cp = '\0';
}