irungentoo/toxcore — pull request #1193 by lehitoskin (2014-12-07 06:33:41+00:00)
Title: pass request_id as pointer to decrypt function

I know this is incredibly selfish to make a PR to the core so I can get my client and wrapper to work, but I've tried everything else and this is the solution I've come up with. ```request_id``` is being passed as a pointer during the encryption phase, which makes me have to create a byte string of length 4 (which is functionally the same as an array) and then pass it to the function. During decryption, however, the function wants me to pass an integer, but when I grab the integer from the byte string and pass it, the function returns -1.