From: Felipe Contreras Date: Mon, 20 May 2013 12:24:24 +0000 (-0500) Subject: ruby: fix missing symbol UINT2FIX() X-Git-Tag: 0.16_rc1~121 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=ed9ef5dc5a281fd1a3a9bba235ef297f6496e24d;ds=sidebyside ruby: fix missing symbol UINT2FIX() It has never existed in Ruby (maybe JRuby). Fortunately the symbols are loaded lazily, so nobody would notice unless they try 'query::count_messages'. Signed-off-by: Felipe Contreras --- 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)); }