Fix int-to-pointer cast warnings on 64-bit
Merge branch 'async_framing' of github.com:Barobo/BaroboLink into async_framing