mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-19 11:35:12 +00:00
Define text_object.data.l as "long long"
This ensures that text_object.data.l is at least 64 bits in size, even in a 32-bit environment. It can cause issues if smaller, such as text turning black instead of a desired color (see #1477).
This commit is contained in:
parent
0cfd5c0a31
commit
4571c7f5d8
@ -109,7 +109,7 @@ struct text_object {
|
|||||||
void *opaque; /* new style generic per object data */
|
void *opaque; /* new style generic per object data */
|
||||||
char *s; /* some string */
|
char *s; /* some string */
|
||||||
int i; /* some integer */
|
int i; /* some integer */
|
||||||
long l; /* some long integer */
|
long long l; /* some long integer */
|
||||||
} data;
|
} data;
|
||||||
|
|
||||||
void *special_data;
|
void *special_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user