Browse files

Let flags be treated as unsigned

  • Loading branch information...
1 parent 48768de commit cc2e2ba2ea9c7d014cf76889212261c5e6d7c33b @jmendeth jmendeth committed Jul 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 src/robotskirt.cc
View
2 package.json
@@ -2,7 +2,7 @@
, "description": "A node wrapper for the awesome C markdown parsing library, sundown."
, "tags": ["sundown", "upskirt", "robot", "markdown", "mkd"]
, "author" : "Ben Mills <ben@bmdev.org>"
-, "version": "2.1.1"
+, "version": "2.1.2"
, "lib": "./build/Release"
, "main": "./index.js"
, "scripts": { "publish": "node-waf configure build" }
View
2 src/robotskirt.cc
@@ -360,7 +360,7 @@ class HtmlRendererWrap: public RendererWrap {
} V8_WRAP_END()
static V8_GETTER(GetFlags) {
HtmlRendererWrap* inst = Unwrap<HtmlRendererWrap>(info.Holder());
- return scope.Close(Integer::New(inst->flags_));
+ return scope.Close(Integer::NewFromUnsigned(inst->flags_));
} V8_WRAP_END()
protected:
unsigned int const flags_;

0 comments on commit cc2e2ba

Please sign in to comment.