I wasn't sure whether you actually fixed your code with that post now, but I was already looking at your code when I saw the post, so I continued.
I fixed the code differently, by just removing the c types you used. I trust that the test case works, because I'm not sure if I broke something. :) [https://github.com/pb-cdunn/nim-help/pull/2](https://github.com/pb-cdunn/nim-help/pull/2)
