Permalink
Browse files

fix argument checking to avoid msvc compiler warning

  • Loading branch information...
Dane Springmeyer
Dane Springmeyer committed Mar 15, 2013
1 parent f4d3de3 commit 2ca7fb4650772e00a72ccec2bc6fd4f99e536b8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapnik_expression.cpp
@@ -104,7 +104,7 @@ Handle<Value> Expression::evaluate(const Arguments& args)
{
HandleScope scope;
- if (!args.Length() > 0) {
+ if (args.Length() < 1) {
return ThrowException(Exception::Error(
String::New("requires a mapnik.Feature as an argument")));
}

0 comments on commit 2ca7fb4

Please sign in to comment.