1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-09 15:40:10 +00:00
Arthur O'Dwyer e59d22e399 Silence some pedantic format warnings from Clang.
rogueviz/rogueviz.cpp: In function ‘hr::color_t rogueviz::parse1(const string&)’:
    rogueviz/rogueviz.cpp:76:75: error: format ‘%x’ expects argument
    of type ‘unsigned int*’, but argument 3 has type ‘int*’ [-Werror=format=]
         sscanf(s.c_str(), "R%x,%x,%x,%d,%d", &mh, &minh, &alpha, &step, &start);
                                                                               ^

I believe these three variables should have been `color_t` all along.
I think this fix doesn't change any of the arithmetic, but I could be wrong.
2020-03-23 14:39:30 -04:00
..
2019-11-14 20:26:07 +01:00
2020-03-21 09:34:50 +01:00
2019-09-26 13:23:10 +02:00
2019-11-30 19:01:01 +01:00
2019-11-30 19:01:01 +01:00
2019-12-27 12:50:56 +01:00
2019-09-12 22:50:16 +02:00
2019-11-30 19:01:01 +01:00
2020-03-21 10:15:11 +01:00
2019-09-12 22:50:16 +02:00
2019-09-13 18:46:08 +02:00
2020-02-17 10:33:56 +01:00
2019-12-27 12:50:56 +01:00