RIOT/drivers
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
2018-07-17 10:02:36 +02:00
2018-07-25 12:01:39 +02:00
2017-09-01 15:12:20 +02:00
2017-09-01 15:12:20 +02:00
2018-03-05 15:54:29 +01:00
2018-06-11 19:10:40 +02: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:39 +02:00
2017-11-10 15:53:50 +01:00
2017-09-01 15:12:20 +02:00
2018-05-17 18:13:23 +02:00