From ec798451e8521f19a4fd5016a26f32f4ab4ddbdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 23 May 2017 00:26:59 +0200 Subject: [PATCH] Fixed POI radius setting handling --- src/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.h b/src/settings.h index 3f104bbd..cd33a7ee 100644 --- a/src/settings.h +++ b/src/settings.h @@ -107,7 +107,7 @@ #define PAUSE_INTERVAL_SETTING "pauseInterval" #define PAUSE_INTERVAL_DEFAULT 10 /* s */ #define POI_RADIUS_SETTING "poiRadius" -#define POI_RADIUS_DEFAULT (IMPERIAL_UNITS() ? MIINM : KMINM) +#define POI_RADIUS_DEFAULT (int)(IMPERIAL_UNITS() ? MIINM : KMINM) #define USE_OPENGL_SETTING "useOpenGL" #define USE_OPENGL_DEFAULT false #define PIXMAP_CACHE_SETTING "pixmapCache"