summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/examples/http_texture_load.cpp
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-11-14 14:52:33 -0800
committercallum_linden <none@none>2014-11-14 14:52:33 -0800
commitcfb1779e26d1ab15acdbc9d2fc5982b84af56765 (patch)
tree144f7f5ddcce60c430ba1df9c26580d763a1bb8a /indra/llcorehttp/examples/http_texture_load.cpp
parent78a75ca00f77d98a2fc62e8828df2eb5600bbad4 (diff)
parent014065015a6a3a79c7786f22b65c99f856e413a0 (diff)
merge with head
Diffstat (limited to 'indra/llcorehttp/examples/http_texture_load.cpp')
-rwxr-xr-xindra/llcorehttp/examples/http_texture_load.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcorehttp/examples/http_texture_load.cpp b/indra/llcorehttp/examples/http_texture_load.cpp
index b76c874557..9d9631b980 100755
--- a/indra/llcorehttp/examples/http_texture_load.cpp
+++ b/indra/llcorehttp/examples/http_texture_load.cpp
@@ -212,7 +212,7 @@ int main(int argc, char** argv)
char * end;
value = strtoul(optarg, &end, 10);
- if (value < 0 || value > 100 || *end != '\0')
+ if (value > 100 || *end != '\0')
{
usage(std::cerr);
return 1;
@@ -227,7 +227,7 @@ int main(int argc, char** argv)
char * end;
value = strtoul(optarg, &end, 10);
- if (value < 0 || value > 3 || *end != '\0')
+ if (value > 3 || *end != '\0')
{
usage(std::cerr);
return 1;