summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-29 14:57:47 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-29 14:57:47 +0100
commit6a760adf754ed4b736b2a2e4c08936f005a71bcb (patch)
tree88345e2941d09db3e3cae20f7ad67b3ba55bf39b /include/value.h
parentb21f7778fb106a425467c7ee5819e544ef0a2de8 (diff)
all methods to register functions, methods, properties and classes not return *this, to allow chaining these methods. This was suggested by valmat in issue #55
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/value.h b/include/value.h
index 47cebcf..36f82af 100644
--- a/include/value.h
+++ b/include/value.h
@@ -580,7 +580,7 @@ public:
*/
operator int16_t () const
{
- return numericValue();
+ return (int16_t)numericValue();
}
/**
@@ -589,7 +589,7 @@ public:
*/
operator int32_t () const
{
- return numericValue();
+ return (int32_t)numericValue();
}
/**