guzba / supersnappy

Dependency-free and performant Nim Snappy implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to compile this library for 32bit arch

evgkul opened this issue · comments

This library doesn't compile for 32bit arch
Here I'm trying to compile test file from this repository:

$ nim c -r --cpu:i386 tests/test.nim 
Hint: used config file '/home/evgkul/.choosenim/toolchains/nim-1.4.0/config/nim.cfg' [Conf]
Hint: used config file '/home/evgkul/.choosenim/toolchains/nim-1.4.0/config/config.nims' [Conf]
............
/home/evgkul/supersnappy/supersnappy.nim(399, 28) Error: cannot convert 4294967295 to int

Wrote a simple fix in pull request #2