--- api/avahi/src/Clib/bglavahi.c.orig 2019-07-04 00:09:45.000000000 -0600 +++ api/avahi/src/Clib/bglavahi.c 2019-07-04 11:56:22.826166771 -0600 @@ -482,7 +482,7 @@ AvahiStringList * bgl_avahi_list_to_string_list( obj_t p ) { // MS: 28 feb 2017 // AvahiStringList *l = avahi_string_list_new( "", NULL ); - AvahiStringList *l = avahi_string_list_new( 0L ); + AvahiStringList *l = avahi_string_list_new( NULL ); while( PAIRP( p ) ) { l = avahi_string_list_add( l, BSTRING_TO_STRING( CAR( p ) ) ); --- bde/bmem/lib/alloc.c.orig 2019-07-04 00:09:45.000000000 -0600 +++ bde/bmem/lib/alloc.c 2019-07-04 13:49:40.481341508 -0600 @@ -33,11 +33,11 @@ unsigned long ante_bgl_init_dsz = 0; { long __idx = bmem_thread ? \ (long)____pthread_getspecific( bmem_key3 ) \ : alloc_index; \ - ((__idx < 0 || __idx >= 5) ? (fprintf( stderr, "*** bmem: stack overflow/underflow \"%s\" [%d]\n", name, __idx ), exit( -2 )) : 0) + ((__idx < 0 || __idx >= 5) ? (fprintf( stderr, "*** bmem: stack overflow/underflow \"%s\" [%ld]\n", name, __idx ), exit( -2 )) : 0) #define DBG_INDEX_STOP( name ) \ (bmem_thread ? (long)____pthread_getspecific( bmem_key3 ) : alloc_index) != (__idx -1) \ - ? fprintf( stderr, "*** bmem: illegal stack after \"%s\" [%d/%d]\n", name, (bmem_thread ? (long)____pthread_getspecific( bmem_key3 ) : alloc_index), __idx - 1), exit( -1 ) : 0; } 0 + ? fprintf( stderr, "*** bmem: illegal stack after \"%s\" [%ld/%ld]\n", name, (bmem_thread ? (long)____pthread_getspecific( bmem_key3 ) : alloc_index), __idx - 1), exit( -1 ) : 0; } 0 /*---------------------------------------------------------------------*/ /* char * */ --- comptime/Cc/exec.c.orig 2019-07-04 00:10:26.000000000 -0600 +++ comptime/Cc/exec.c 2019-07-04 11:56:22.827166770 -0600 @@ -342,7 +342,7 @@ extern "C" BSTRING_TO_STRING(BGl_za2shellza2z00zzengine_paramz00); BgL_arg1031z00_37 = execl(BgL_tmpz00_118, BgL_auxz00_120, BgL_auxz00_122, - BgL_auxz00_124, 0L); + BgL_auxz00_124, NULL); } bgl_display_obj(BINT(BgL_arg1031z00_37), BgL_port1017z00_36); }