diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 507f1b7c..64fc6d78 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,7 +13,7 @@ endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/build.h) set(conky_sources colours.c combine.c common.c conky.cc core.cc diskio.c entropy.c exec.c fs.c mail.c mixer.c net_stat.c template.c timed_thread.c mboxscan.c read_tcp.c scroll.c specials.c tailhead.c temphelper.c - text_object.c timeinfo.c top.c algebra.c proc.c user.c) + text_object.c timeinfo.c top.c algebra.c prioqueue.c proc.c user.c) # Platform specific sources if(OS_LINUX) diff --git a/src/conky.cc b/src/conky.cc index 1657f63e..0061c4ba 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -1266,7 +1266,7 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) case STIPPLED_HR: { int h = specials[special_index].height; - int tmp_s = specials[special_index].arg; + char tmp_s = specials[special_index].arg; int mid = font_ascent() / 2; char ss[2] = { tmp_s, tmp_s }; @@ -1698,7 +1698,7 @@ static void draw_text(void) /* draw borders */ if (draw_borders && window.border_width > 0) { if (stippled_borders) { - char ss[2] = { stippled_borders, stippled_borders }; + char ss[2] = { (char)stippled_borders, (char)stippled_borders }; XSetLineAttributes(display, window.gc, window.border_width, LineOnOffDash, CapButt, JoinMiter); XSetDashes(display, window.gc, 0, ss, 2);