X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fquery.c;h=077def02f63021336de66d2c8c8e68edf1b4e6c4;hp=8a2b4d3d48350e6b37ea9de73d86927ddb80e301;hb=afa45bd6b886838b760884a1870f274fc33b5f89;hpb=74c2c86769a1e195fe7f465213c2dc360519d43f diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c index 8a2b4d3d..077def02 100644 --- a/bindings/ruby/query.c +++ b/bindings/ruby/query.c @@ -45,7 +45,7 @@ notmuch_rb_query_get_sort (VALUE self) Data_Get_Notmuch_Query (self, query); - return FIX2INT (notmuch_query_get_sort (query)); + return INT2FIX (notmuch_query_get_sort (query)); } /*