diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2012-05-02 14:32:47 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2012-05-02 14:32:47 +0400 |
| commit | 4ede440972bd7800ed85f869e5679ea72815b78e (patch) | |
| tree | 53d6c8046bae4d2e08c8be615a48d002463584bb | |
| parent | c48662b316bd855c94edc3301f15cd534531e45c (diff) | |
| download | node-augeas-4ede440972bd7800ed85f869e5679ea72815b78e.tar.gz | |
Use Int32
| -rw-r--r-- | libaugeas.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libaugeas.cc b/libaugeas.cc index 84052f0..0f82003 100644 --- a/libaugeas.cc +++ b/libaugeas.cc @@ -393,7 +393,7 @@ Handle<Value> LibAugeas::setm(const Arguments& args) int rc = aug_setm(obj->m_aug, base, sub, value); if (rc >= 0) { - return scope.Close(Number::New(rc)); + return scope.Close(Int32::New(rc)); } else { throw_aug_error_msg(obj->m_aug); return scope.Close(Undefined()); |
