mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Build fix.
This commit is contained in:
parent
6437804959
commit
d64b05b648
@ -234,7 +234,7 @@ char *scan_graph(struct text_object *obj, const char *args, double defscale)
|
||||
if (*buf == '"') {
|
||||
char *_ptr;
|
||||
size_t _size;
|
||||
if (_ptr = strrchr(args, '"')) {
|
||||
if (_ptr = const_cast<char*>(strrchr(args, '"'))) {
|
||||
_size = _ptr - args - 1;
|
||||
}
|
||||
_size = _size < 1024 ? _size : 1023;
|
||||
|
Loading…
Reference in New Issue
Block a user