We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820803d commit d7e0414Copy full SHA for d7e0414
src/main/c/h3-java/src/jniapi.c
@@ -230,7 +230,9 @@ JNIEXPORT jlong JNICALL Java_com_uber_h3core_NativeMethods_constructCell(
230
231
if (digitsElements != NULL) {
232
// if sz is too small, bad things will happen
233
- // TODO: Confirm jint == int on the current platform
+ // note: We assume int can at least contain `jint` on the current platform.
234
+ // This may not be true if sizeof(int) < 32, but we don't support any platforms
235
+ // where this would be the case.
236
H3Error err = constructCell(res, baseCell, digitsElements, &result);
237
238
(**env).ReleaseIntArrayElements(env, digits, digitsElements, 0);
0 commit comments