---
 st.c | 2 +-
 x.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/st.c b/st.c
index aa57294..1ff880a 100644
--- a/st.c
+++ b/st.c
@@ -1839,7 +1839,7 @@ strhandle(void)
 {
        char *p = NULL;
        int narg, par;
-       size_t j;
+       size_t j = 0;
 
        term.esc &= ~(ESC_STR_END|ESC_STR);
        strparse();
diff --git a/x.c b/x.c
index de9ec5d..b1ba14a 100644
--- a/x.c
+++ b/x.c
@@ -1751,7 +1751,7 @@ cmessage(XEvent *e)
                } else if (e->xclient.data.l[1] == XEMBED_FOCUS_OUT) {
                        win.mode &= ~MODE_FOCUSED;
                }
-       } else if (e->xclient.data.l[0] >= 0 && labs(e->xclient.data.l[0]) == 
xw.wmdeletewin) {
+       } else if (e->xclient.data.l[0] >= 0 && (Atom)(e->xclient.data.l[0]) == 
xw.wmdeletewin) {
                ttyhangup();
                exit(0);
        }
-- 
2.20.1


Reply via email to