From 0fd2a97e6f169468b3a48f996ba35cd70210baa0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 16 Jan 2019 17:22:42 -0500 Subject: add src/sdl/sounds.[hc], assets/wavs, and set default sounds --- src/sdl/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sdl/draw.c') diff --git a/src/sdl/draw.c b/src/sdl/draw.c index 37d9ba2..d95e83f 100644 --- a/src/sdl/draw.c +++ b/src/sdl/draw.c @@ -291,7 +291,7 @@ draw_solve_moves_text( char buf[1024]; // fill buffer - snprintf(buf, sizeof(buf), " %lu attempts ", draw_ctx->solve_num_steps); + snprintf(buf, sizeof(buf), " %u attempts ", (unsigned int) draw_ctx->solve_num_steps); // draw text draw_text(draw_ctx->renderer, draw_ctx->font, style, buf); -- cgit v1.2.3