guzba / zippy

Pure Nim implementation of deflate, zlib, gzip and zip.
MIT License
246 stars 29 forks source link

fix issue #59 (abort on alpine + nim 1.6.8 + gcc 12.2.1) #60

Closed guzba closed 1 year ago

guzba commented 1 year ago

This reverts commit 15fe6918cadfc136e4aa6de768e683bcd87f0950.

guzba commented 1 year ago

The addr / unsafeAddr is not important, the key is line 216 https://github.com/guzba/zippy/pull/60/files#diff-e36bd77030e1f208e2ba5938a5b817dafba5cc8633238939b9791d65a9263ce9L216