diff --git a/sftpserver.c b/sftpserver.c index 1ff3d378..91711d59 100644 --- a/sftpserver.c +++ b/sftpserver.c @@ -15,6 +15,7 @@ struct sftp_packet *sftp_handle_request( { struct sftp_packet *reply; unsigned id; + uint32_t flags; ptrlen path, dstpath, handle, data; uint64_t offset; unsigned length; diff --git a/unix/gtkfont.c b/unix/gtkfont.c index 4e62fb34..f0e7e712 100644 --- a/unix/gtkfont.c +++ b/unix/gtkfont.c @@ -1107,7 +1107,7 @@ static void x11font_enum_fonts(GtkWidget *widget, * font, which we do by examining the spacing field * again. */ - flags = FONTFLAG_SERVERSIDE; + int flags = FONTFLAG_SERVERSIDE; if (!strchr("CcMm", xlfd->spacing[0])) flags |= FONTFLAG_NONMONOSPACED;