aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/ruby/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c
index e5ba1b7a..1658edee 100644
--- a/bindings/ruby/query.c
+++ b/bindings/ruby/query.c
@@ -180,5 +180,5 @@ notmuch_rb_query_count_messages (VALUE self)
* (function may return 0 after printing a message)
* Thus there is nothing we can do here...
*/
- return UINT2FIX(notmuch_query_count_messages(query));
+ return UINT2NUM(notmuch_query_count_messages(query));
}