1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00
hyperrogue/rogueviz
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
..
banachtarski.cpp Eliminate -Wmissing-field-initializers warnings. 2020-03-23 14:38:57 -04:00
cvl.cpp adjusted RogueViz 2019-11-14 20:26:07 +01:00
flocking.cpp flocking:: product geometries 2020-03-21 09:34:50 +01:00
functions.cpp fixed a crash in RogueViz 2019-09-26 13:23:10 +02:00
fundamental.cpp adjusted rogueviz 2019-11-30 19:01:01 +01:00
grigorchuk.cpp adjusted rogueviz 2019-11-30 19:01:01 +01:00
kohonen.cpp Add a helper function voidp to silence GCC warnings about %p. 2020-03-23 14:39:28 -04:00
magiccube.cpp adjusted Rogueviz to HR changes 2019-12-27 12:50:56 +01:00
newconf.cpp Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
pentagonal.cpp renamed the RogueViz files 2019-09-12 22:50:16 +02:00
qtm.cpp adjusted rogueviz 2019-11-30 19:01:01 +01:00
rewriting.cpp Silence a warning to fix the build break on clang++ -std=c++11 -Wall. 2020-02-14 13:14:48 -05:00
rogueviz.cpp Silence some pedantic format warnings from Clang. 2020-03-23 14:39:30 -04:00
rogueviz.h rogueviz:: export createViz 2020-03-21 10:15:11 +01:00
staircase.cpp renamed the RogueViz files 2019-09-12 22:50:16 +02:00
sunflower.cpp RogueViz adjustments 2019-09-13 18:46:08 +02:00
triangle.cpp changed the default 'how' to 8 2020-02-17 10:33:56 +01:00
video.cpp adjusted Rogueviz to HR changes 2019-12-27 12:50:56 +01:00