[Groonga-commit] ranguba/rroonga at 4590083 [add-logger-flags] Use the correct type for macro

Back to archive index

Masafumi Yokoyama null+****@clear*****
Wed Jan 11 18:19:24 JST 2017


Masafumi Yokoyama	2017-01-11 18:19:24 +0900 (Wed, 11 Jan 2017)

  New Revision: 4590083fd71737ec7cc417130a167e9d0ec6a376
  https://github.com/ranguba/rroonga/commit/4590083fd71737ec7cc417130a167e9d0ec6a376

  Message:
    Use the correct type for macro

  Modified files:
    ext/groonga/rb-grn-logger.c

  Modified: ext/groonga/rb-grn-logger.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-logger.c    2017-01-11 18:11:55 +0900 (6822fb3)
+++ ext/groonga/rb-grn-logger.c    2017-01-11 18:19:24 +0900 (b7bac5a)
@@ -583,7 +583,7 @@ rb_grn_logger_s_set_flags (VALUE klass, VALUE rb_flags)
     int flags = 0;
 
     if (!NIL_P(rb_flags)) {
-        flags = NUM2UINT(rb_flags);
+        flags = NUM2INT(rb_flags);
     }
     grn_default_logger_set_flags(flags);
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index