gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Apache protable runtime 1.4
c89 and compiling in -m32 mode
コード:
apr_time_t time_msecs = 0;
time_msecs = apr_time_as_msec(apr_time_now());
printf("Time in msecs [ %lu ]\n", time_msecs);
次の警告が表示されます。
format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘apr_time_t’ [-Wformat]
キャスティングとは別に。この型 (apr_time_t) の正しい書式指定子は何ですか?
ご提案いただきありがとうございます。