frotz-issue-44: Replaced type "ulong" with type "unsigned long" to enable support...
authorTim Telcik <telcik@gmail.com>
Thu, 15 Jun 2017 15:05:32 +0000 (23:05 +0800)
committerTim Telcik <telcik@gmail.com>
Thu, 15 Jun 2017 15:05:32 +0000 (23:05 +0800)
src/curses/ux_blorb.h
src/curses/ux_resource.c

index 1be180a6d564dfd1045fea34f9fb04b8ab33ab16..ef15d4cdd08d1db294204819ced97891c8f82b67 100644 (file)
@@ -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;
 
index 72782fc140b84b527eb91a4648c8af5582b04c50..f8719cb4d191c1486462daad6fd3b3db3fbeeff9 100644 (file)
@@ -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;