diff --git a/xwords4/common/strutils.h b/xwords4/common/strutils.h index b91d6bbc5..9fa036342 100644 --- a/xwords4/common/strutils.h +++ b/xwords4/common/strutils.h @@ -92,7 +92,7 @@ XP_Bool smsToBin( XP_U8* out, XP_U16* outlen, const XP_UCHAR* in, XP_U16 inlen ) #endif #ifdef DEBUG -void log_hex( const XP_U8*memp, XP_U16 len, const char* tag ); +void log_hex( const XP_U8* memp, XP_U16 len, const char* tag ); # define LOG_HEX(m,l,t) log_hex((const XP_U8*)(m),(l),(t)) #else # define LOG_HEX(m,l,t) diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index 213401fd2..4acc1ac54 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -2344,7 +2344,7 @@ gtkmain( LaunchParams* params, int argc, char *argv[] ) ); if ( !!params->pipe && !!params->fileName ) { - read_pipe_then_close( &globals.cGlobals ); + read_pipe_then_close( &globals.cGlobals, NULL ); } else { gtk_widget_show( window );