Bug 818103 - properly calculate numInts for native_handle