Rusty Russell
5eb121ffc3
common/amount: fix OpenBSD compile warning.
...
```
cc common/amount.c
common/amount.c:306:15: error: implicit conversion from 'unsigned long long' to
'double' changes value from 18446744073709551615 to 18446744073709551616
[-Werror,-Wimplicit-int-float-conversion]
if (scaled > UINT64_MAX)
~ ^~~~~~~~~~
/usr/include/sys/stdint.h:123:21: note: expanded from macro 'UINT64_MAX'
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:254: common/amount.o] Error 1
bsd$
```
Fixes : #4044
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2020-09-14 03:57:17 +09:30
..
2020-09-09 19:54:20 +09:30
2020-02-05 14:19:12 +01:00
2020-09-14 03:57:17 +09:30
2020-08-06 09:36:47 +09:30
2020-06-23 18:49:15 +02:00
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-08-25 12:53:13 +09:30
2020-04-03 13:13:21 +10:30
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-06-11 13:13:13 +02:00
2020-06-11 13:13:13 +02:00
2020-04-07 13:52:48 +09:30
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-05-19 13:35:42 +09:30
2020-02-02 12:59:17 +10:30
2020-09-08 09:42:00 +09:30
2020-06-23 18:49:15 +02:00
2020-09-08 09:42:00 +09:30
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-08-25 12:53:13 +09:30
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-01-31 06:02:47 +00:00
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-05-18 14:51:12 +02:00
2020-05-04 10:22:26 +09:30
2020-08-24 20:55:47 +09:30
2020-09-08 09:42:00 +09:30
2020-09-08 09:42:00 +09:30
2020-05-07 08:44:58 +09:30
2020-09-08 09:42:00 +09:30
2020-08-28 10:56:50 +09:30
2020-02-05 14:19:12 +01:00
2020-02-05 14:19:12 +01:00
2020-03-25 14:26:28 +10:30
2020-03-25 14:26:28 +10:30
2020-08-14 11:51:14 +09:30
2020-08-14 11:51:14 +09:30
2020-08-24 20:55:47 +09:30
2020-08-24 20:55:47 +09:30
2020-08-31 21:33:26 -05:00
2020-09-08 09:42:00 +09:30
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-08-24 20:55:47 +09:30
2020-09-09 19:54:20 +09:30
2020-02-05 14:19:12 +01:00
2020-09-02 09:46:37 +09:30
2020-08-25 12:34:56 +09:30
2020-08-25 12:34:56 +09:30
2020-04-09 14:09:23 +09:30
2020-04-09 14:09:23 +09:30
2020-09-02 09:46:37 +09:30
2020-08-11 08:39:24 +09:30
2020-09-10 15:28:50 +09:30
2020-08-21 09:52:33 +09:30
2020-09-10 17:27:51 +09:30
2020-08-24 20:55:47 +09:30
2020-08-24 20:55:47 +09:30
2020-09-09 19:54:20 +09:30
2020-02-02 12:59:17 +10:30
2020-02-02 12:59:17 +10:30
2020-02-27 14:16:16 +10:30
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-09-08 09:42:00 +09:30
2020-04-14 12:51:18 +09:30
2020-05-18 14:51:12 +02:00
2020-01-23 16:17:42 +10:30
2020-02-27 14:16:16 +10:30
2020-02-05 14:19:12 +01:00
2020-08-25 12:53:13 +09:30
2020-08-25 12:53:13 +09:30
2020-05-18 14:51:12 +02:00
2020-09-09 16:23:58 +09:30
2020-09-09 16:23:58 +09:30
2020-08-06 09:36:47 +09:30
2020-05-07 15:05:39 +09:30
2020-06-11 13:13:13 +02:00
2020-09-08 09:42:00 +09:30
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-08-31 21:33:26 -05:00
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-05-19 13:35:42 +09:30
2020-05-19 13:35:42 +09:30
2020-08-31 21:33:26 -05:00
2020-09-08 09:42:00 +09:30
2020-05-18 14:51:12 +02:00
2020-09-09 16:23:58 +09:30
2020-09-09 16:23:58 +09:30
2020-08-31 21:33:26 -05:00
2020-07-13 11:37:24 +09:30
2020-06-23 12:48:20 +09:30
2020-04-16 09:40:39 +09:30
2020-09-08 10:14:42 +09:30
2020-09-08 10:14:42 +09:30
2020-08-07 10:41:37 +09:30
2020-09-08 09:42:00 +09:30
2020-02-05 14:19:12 +01:00
2020-02-27 14:16:16 +10:30