1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-16 22:25:56 +01:00

Fixed couple of compilator warning and removed unused macros.

This commit is contained in:
2017-02-25 08:00:23 +01:00
committed by Carlos R. Mafra
parent 3617e4c20c
commit 6e4698fe11
7 changed files with 12 additions and 20 deletions

View File

@@ -700,7 +700,7 @@ static void typefaceClick(WMWidget * w, void *data)
WM_ITERATE_ARRAY(face->sizes, size, i) {
if (size != NULL) {
int size_int = (int) size;
int size_int = (intptr_t) size;
sprintf(buffer, "%i", size_int);
@@ -802,7 +802,7 @@ static void setFontPanelFontName(FontPanel * panel, const char *family, const ch
char buffer[32];
if (vsize != NULL) {
int size_int = (int) vsize;
int size_int = (intptr_t) vsize;
sprintf(buffer, "%i", size_int);