BUG: Chat doesn’t work in 64bits devices.

FIX: Old C data types changed to Objective-C equivalent data types.