fix a warning on OS X (defined but unused)
fix another warning on OS X:

gint64 is long int here, not long long int like int64_t