[Groonga-commit] groonga/groonga at 01d122f [master] time_classify_day_of_the_week: fix a wrong macro call

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 2 14:36:33 JST 2018


Kouhei Sutou	2018-07-02 14:36:33 +0900 (Mon, 02 Jul 2018)

  New Revision: 01d122f2812d8a2a7897634370ddf05400d36e80
  https://github.com/groonga/groonga/commit/01d122f2812d8a2a7897634370ddf05400d36e80

  Message:
    time_classify_day_of_the_week: fix a wrong macro call

  Modified files:
    plugins/functions/time.c

  Modified: plugins/functions/time.c (+1 -1)
===================================================================
--- plugins/functions/time.c    2018-07-02 14:12:41 +0900 (4065f6e2f)
+++ plugins/functions/time.c    2018-07-02 14:36:33 +0900 (10758a200)
@@ -370,7 +370,7 @@ func_time_classify_day_of_the_week(grn_ctx *ctx, int n_args, grn_obj **args,
     if (!day_of_the_week) {
       return NULL;
     }
-    GRN_TIME_SET(ctx, day_of_the_week, tm.tm_wday);
+    GRN_UINT8_SET(ctx, day_of_the_week, tm.tm_wday);
 
     return day_of_the_week;
   }
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180702/b560a5fa/attachment.htm 



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