RetroArch/libretro-common
Hugo Hromic e2b620ae05 libretro-common: improve PRI_SIZET for non-windows platforms
In non-windows platfoms, the `size_t` type may not necessarily use
the `%lu` format specification. For example in 32 bits platforms
instead it needs to be `%u`. Therefore, for non-windows platforms,
it is better to define PRI_SIZET more precisely.

Silences these types of warnings in 32 bits non-windows platforms:

    libretro-common/file/config_file.c: In function ‘config_get_size_t’:
    libretro-common/file/config_file.c:694:32: warning: format ‘%lu’ expects
    argument of type ‘long unsigned int *’, but argument 3 has type
    ‘size_t * {aka unsigned int *}’ [-Wformat=]
           if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1)
                                    ^~~

Discussed in #8191
2019-02-07 16:25:48 +00:00
..
2019-02-05 23:35:39 +01:00
2019-02-03 16:00:50 -08:00
2018-12-28 22:09:22 +01:00
2018-10-21 05:43:23 +02:00
2019-02-03 16:00:50 -08:00
2019-02-06 19:03:07 +01:00
2019-02-03 16:00:50 -08:00
2019-02-06 10:21:28 -08:00
2019-02-03 16:00:50 -08:00
2019-02-03 16:00:50 -08:00
2019-01-17 19:39:38 -08:00
2019-02-06 23:42:13 +01:00
2019-02-03 16:00:50 -08:00
2019-02-03 16:00:50 -08:00
2019-02-03 16:00:50 -08:00
2019-02-03 16:00:50 -08:00