From: Tim Telcik Date: Thu, 15 Jun 2017 15:05:32 +0000 (+0800) Subject: frotz-issue-44: Replaced type "ulong" with type "unsigned long" to enable support... X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=3965b2daaaa24a275322871a71646a929872c86e;p=liskon_frotz.git frotz-issue-44: Replaced type "ulong" with type "unsigned long" to enable support for Apple MacOS Sierra 10.12 plus MacPorts 2.4.1. --- diff --git a/src/curses/ux_blorb.h b/src/curses/ux_blorb.h index 1be180a..ef15d4c 100644 --- a/src/curses/ux_blorb.h +++ b/src/curses/ux_blorb.h @@ -22,7 +22,7 @@ typedef struct sampledata_struct { typedef struct { bb_result_t bbres; // ulong type; - uint32_t type; + unsigned long type; FILE *fp; } myresource; diff --git a/src/curses/ux_resource.c b/src/curses/ux_resource.c index 72782fc..f8719cb 100644 --- a/src/curses/ux_resource.c +++ b/src/curses/ux_resource.c @@ -24,7 +24,7 @@ int ux_getresource( int num, int ispic, int method, myresource * res) { int st; // ulong usage; - uint32_t usage; + unsigned long usage; res->bbres.data.ptr = NULL; res->fp = NULL;