I found a solution (on Linux at least) In the zlib.nim file, where types are 
defines at the top of the file, change Ulong* = uint32 to Ulong* = uint

Also set the 'level' parameter of the compress proc to 'Z_DEFLATED'. 

Reply via email to