summaryrefslogtreecommitdiff
path: root/src/modules/fonts
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-16 14:23:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-16 14:23:01 +0000
commita67927ff45a5e88a62c33b48f3643ebf5dd69394 (patch)
treef0e82e8c9b990dfa99b8b2c433aba7aeb8f06fbe /src/modules/fonts
parentddac55403efc2fa4de7ad484a057bd96c24335c5 (diff)
type conversion warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/fonts')
-rw-r--r--src/modules/fonts/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fonts/services.cpp b/src/modules/fonts/services.cpp
index 0f5cdadb6c..84851bc6dd 100644
--- a/src/modules/fonts/services.cpp
+++ b/src/modules/fonts/services.cpp
@@ -159,7 +159,7 @@ int GetFontSettingFromDB(char *settings_group, char *prefix, LOGFONT* lf, COLORR
}
mir_snprintf(idstr, SIZEOF(idstr), "%sSize", prefix);
- lf->lfHeight = (char)db_get_b(NULL, settings_group, idstr, lf->lfHeight);
+ lf->lfHeight = db_get_b(NULL, settings_group, idstr, lf->lfHeight);
//mir_snprintf(idstr, SIZEOF(idstr), "%sFlags", prefix);
//if (db_get_dw(NULL, settings_group, idstr, 0) & FIDF_SAVEACTUALHEIGHT) {