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 <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2013-05-20 07:24:24 -05:00 committed by David Bremner
parent 71e1522da4
commit ed9ef5dc5a

View file

@ -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));
}