From 3af742f1036fdbcf7b6ba342df87bdfb82676843 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sat, 2 Jan 2021 02:49:18 +0000 Subject: [PATCH] in_touch.c: Fix -Wpointer-to-int-cast --- engine/client/in_touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/in_touch.c b/engine/client/in_touch.c index 2b58cb57..915adc49 100644 --- a/engine/client/in_touch.c +++ b/engine/client/in_touch.c @@ -312,7 +312,7 @@ void Touch_ExportConfig_f( void ) FS_Printf( f, "touch_pow_mult \"%f\"\n", touch_pow_mult->value ); FS_Printf( f, "touch_exp_mult \"%f\"\n", touch_exp_mult->value ); FS_Printf( f, "\n// grid settings\n" ); - FS_Printf( f, "touch_grid_count \"%d\"\n", (int)touch_grid_count ); + FS_Printf( f, "touch_grid_count \"%d\"\n", (int)touch_grid_count->value ); FS_Printf( f, "touch_grid_enable \"%d\"\n", CVAR_TO_BOOL(touch_grid_enable) ); FS_Printf( f, "\n// global overstroke (width, r, g, b, a)\n" ); FS_Printf( f, "touch_set_stroke %d %d %d %d %d\n", touch.swidth, touch.scolor[0], touch.scolor[1], touch.scolor[2], touch.scolor[3] );