lpac-jni: Assert jlong is enough to hold a platform sized pointer
All checks were successful
/ build-debug (push) Successful in 3m48s

This commit is contained in:
Peter Cai 2024-02-24 16:18:15 -05:00
parent 18cd9acdb8
commit 2a8fb99ed0

View file

@ -4,6 +4,9 @@
#include <pthread.h>
#include <jni.h>
_Static_assert(sizeof(void *) <= sizeof(jlong),
"jlong must be big enough to hold a platform raw pointer");
struct lpac_jni_ctx {
jobject apdu_interface;
jobject http_interface;