[Groonga-commit] groonga/groonga at 9b45141 [master] Use int64_t

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Thu May 5 22:11:44 JST 2016


Kouhei Sutou	2016-05-05 22:11:44 +0900 (Thu, 05 May 2016)

  New Revision: 9b451413096a765a319d2a6860220bd79f2477e1
  https://github.com/groonga/groonga/commit/9b451413096a765a319d2a6860220bd79f2477e1

  Message:
    Use int64_t

  Modified files:
    include/groonga/time.h

  Modified: include/groonga/time.h (+1 -1)
===================================================================
--- include/groonga/time.h    2016-05-05 22:01:35 +0900 (23edb50)
+++ include/groonga/time.h    2016-05-05 22:11:44 +0900 (e348ec5)
@@ -25,7 +25,7 @@ extern "C" {
 #endif
 
 #define GRN_TIME_USEC_PER_SEC 1000000
-#define GRN_TIME_PACK(sec, usec) ((long long int)(sec) * GRN_TIME_USEC_PER_SEC + (usec))
+#define GRN_TIME_PACK(sec, usec) ((int64_t)(sec) * GRN_TIME_USEC_PER_SEC + (usec))
 #define GRN_TIME_UNPACK(time_value, sec, usec) do {\
   sec = (time_value) / GRN_TIME_USEC_PER_SEC;\
   usec = (time_value) % GRN_TIME_USEC_PER_SEC;\
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る