Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
...
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error
RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
..
2018-07-25 12:01:40 +02:00
2018-07-25 12:01:39 +02:00
2017-06-21 17:05:45 +02:00
2018-07-25 12:01:34 +02:00
2018-03-01 13:37:16 +01:00
2018-07-17 10:02:36 +02:00
2018-07-25 12:01:38 +02:00
2018-07-31 18:33:44 +02:00
2018-01-25 12:01:57 +01:00
2018-07-25 12:01:40 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:39 +02:00
2018-07-25 12:01:38 +02:00
2017-07-03 20:43:51 +02:00
2018-05-29 15:57:30 +02:00
2018-07-17 14:12:10 +02:00
2018-03-08 12:52:52 +01:00
2018-07-25 12:01:40 +02:00
2018-05-22 21:52:41 +02:00
2017-06-21 17:05:45 +02:00
2018-07-17 19:19:15 +02:00
2018-03-18 15:25:01 +00:00
2018-03-06 14:00:31 +01:00
2017-06-21 17:05:45 +02:00
2018-07-25 12:01:38 +02:00
2018-03-01 13:42:06 +01:00
2018-02-06 16:59:58 +01:00
2018-08-06 12:33:53 -07:00
2018-07-25 12:01:40 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:38 +02:00
2018-08-06 12:33:53 -07:00
2018-07-25 12:01:39 +02:00
2018-07-25 12:01:39 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:39 +02:00
2018-07-17 18:43:26 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:40 +02:00
2018-01-18 18:39:43 +01:00
2018-03-01 14:26:17 +01:00
2018-07-25 12:01:39 +02:00
2018-03-01 13:43:14 +01:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:39 +02:00
2018-07-25 12:01:34 +02:00
2018-08-02 15:52:58 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:39 +02:00
2017-09-01 15:12:20 +02:00
2018-07-16 14:43:45 +02:00
2017-09-01 15:12:20 +02:00
2018-08-06 12:19:44 +02:00
2018-03-05 15:54:29 +01:00
2018-04-13 12:18:28 +02:00
2018-06-11 19:10:40 +02:00
2018-07-16 15:36:30 +02:00
2018-03-28 11:19:09 +02:00
2017-11-28 20:33:39 +01:00
2018-06-11 19:10:40 +02:00
2018-06-11 19:10:40 +02:00
2017-11-28 11:55:48 +01:00
2018-07-25 12:01:34 +02:00
2018-06-26 13:46:37 -07:00
2018-07-25 12:01:39 +02:00
2018-06-19 14:50:37 -07:00
2017-11-10 15:53:50 +01:00
2018-01-18 10:46:54 +01:00
2018-06-26 13:46:37 -07:00
2018-08-09 09:12:23 +02:00
2017-09-01 15:12:20 +02:00
2018-06-27 08:58:05 +02:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:38 +02:00
2018-03-06 14:00:31 +01:00
2018-03-07 15:23:12 +01:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:38 +02:00
2018-08-02 17:25:27 +02:00
2018-07-25 12:01:38 +02:00
2018-01-18 09:27:10 +01:00
2018-07-25 12:01:38 +02:00
2018-07-25 12:01:39 +02:00
2017-06-21 17:05:45 +02:00
2018-07-25 12:01:38 +02:00
2018-05-17 18:13:23 +02:00
2018-03-06 14:00:31 +01:00
2018-03-20 20:09:55 +01:00
2018-03-22 20:43:15 +01:00
2018-08-02 15:52:58 +02:00
2018-08-02 15:52:58 +02:00