Willy Tarreau
96062a181d
BUILD: cache: fix a build warning regarding too large an integer for the age
...
Building on 32 bit gives this :
src/cache.c: In function 'http_action_store_cache':
src/cache.c:466:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
src/cache.c:467:5: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
src/cache.c: In function 'cache_channel_append_age_header':
src/cache.c:578:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
src/cache.c:579:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
It's because of the definition below added in commit e7a770c ("MINOR:
cache: Add "Age" header.") :
#define CACHE_ENTRY_MAX_AGE 2147483648
Just appending "U" to mark it unsigned is enough to fix it. This only
affects 1.9, no backport is needed.
2018-11-11 14:03:02 +01:00
..
2018-10-02 18:26:59 +02:00
2018-07-19 16:23:43 +02:00
2017-10-31 11:36:12 +01:00
2018-11-11 10:18:37 +01:00
2018-07-19 16:23:43 +02:00
2018-10-29 19:17:39 +01:00
2018-10-28 20:36:00 +01:00
2010-10-30 19:04:33 +02:00
2018-07-19 16:23:43 +02:00
2018-11-11 14:03:02 +01:00
2018-11-11 10:42:37 +01:00
2018-10-08 16:11:54 +02:00
2018-10-21 05:58:40 +02:00
2018-08-22 05:28:32 +02:00
2018-11-11 10:18:37 +01:00
2018-09-11 10:30:25 +02:00
2018-10-21 05:58:40 +02:00
2018-10-02 18:37:27 +02:00
2018-09-20 11:42:15 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-15 13:25:06 +02:00
2018-09-14 09:31:34 +02:00
2018-09-11 10:30:25 +02:00
2018-11-11 10:18:37 +01:00
2018-07-19 16:23:43 +02:00
2017-10-31 18:01:18 +01:00
2018-07-19 16:23:43 +02:00
2018-10-12 16:15:18 +02:00
2018-04-26 10:20:44 +02:00
2018-11-08 14:48:06 +01:00
2018-03-21 05:04:01 +01:00
2018-10-16 17:03:16 +02:00
2017-11-24 17:49:53 +01:00
2018-09-29 20:15:01 +02:00
2018-11-11 10:18:37 +01:00
2018-09-20 11:45:56 +02:00
2018-07-19 16:23:43 +02:00
2017-12-03 21:08:39 +01:00
2018-09-20 11:45:56 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:28:05 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:28:05 +02:00
2018-09-11 10:30:25 +02:00
2012-10-08 20:11:03 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-09-11 10:30:25 +02:00
2018-10-28 14:03:31 +01:00
2018-11-11 10:18:37 +01:00
2016-01-11 07:31:35 +01:00
2015-02-03 00:24:16 +01:00
2018-11-11 10:18:37 +01:00
2018-11-11 10:18:37 +01:00
2018-10-21 06:00:13 +02:00
2018-11-11 10:18:37 +01:00
2018-07-19 16:23:43 +02:00
2018-09-19 06:46:51 +02:00
2018-07-19 16:23:43 +02:00
2018-11-11 10:18:37 +01:00
2017-11-24 17:49:53 +01:00
2018-10-28 20:16:12 +01:00
2018-09-20 11:42:15 +02:00
2018-10-02 18:28:05 +02:00
2016-04-14 11:18:22 +02:00
2018-08-24 14:45:46 +02:00
2018-09-12 07:12:27 +02:00
2018-11-11 10:18:37 +01:00
2018-10-02 18:28:05 +02:00
2018-10-11 15:34:21 +02:00
2017-11-24 17:19:12 +01:00
2018-09-11 10:30:25 +02:00
2018-11-11 10:18:37 +01:00
2018-11-05 17:15:21 +01:00
2017-10-25 04:45:48 +02:00
2018-10-26 04:54:40 +02:00
2018-09-11 10:21:58 +02:00
2018-11-11 10:18:37 +01:00
2018-09-12 07:20:17 +02:00
2018-11-11 10:18:37 +01:00
2018-11-11 10:18:37 +01:00
2018-11-11 10:18:37 +01:00
2018-11-11 10:18:37 +01:00
2018-10-15 19:06:13 +02:00
2018-07-20 10:45:20 +02:00
2018-10-19 08:51:59 +02:00
2017-10-24 19:54:25 +02:00
2017-11-24 17:19:12 +01:00
2018-10-02 18:28:05 +02:00
2018-07-19 16:23:43 +02:00
2016-04-03 14:17:42 +02:00