Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
src: reenable the assert() call
Browse files Browse the repository at this point in the history
`size_t` is always signed, so doing `unsigned size_t` was causing errors
with -Wall enabled.
  • Loading branch information
TooTallNate committed Aug 14, 2012
1 parent 0c11eec commit 3b2e809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader.cc
Expand Up @@ -220,7 +220,7 @@ Handle<Value> Reader::Get(const Arguments &args) {
return Undefined();
} else {
/* Complete replies should always have a root object at index 1. */
//assert((unsigned size_t)index == 1);
assert((size_t)index == 1);
reply = Local<Value>::New(r->handle[1]);

/* Dispose and clear used handles. */
Expand Down

0 comments on commit 3b2e809

Please sign in to comment.