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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user