go1.1 treats int as 64 bits, but c-land ints are 32, so when passing a pointer to an int to C-land, it should be a 32 bit int.