diff options
Diffstat (limited to 'src/android.c')
-rw-r--r-- | src/android.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android.c b/src/android.c index 0234fd50f69..f8d2df8fcf5 100644 --- a/src/android.c +++ b/src/android.c @@ -2969,7 +2969,7 @@ android_globalize_reference (jobject handle) (*android_java_env)->SetLongField (android_java_env, global, handle_class.handle, (jlong) global); - verify (sizeof (jlong) >= sizeof (intptr_t)); + static_assert (sizeof (jlong) >= sizeof (intptr_t)); return (intptr_t) global; } @@ -3521,7 +3521,7 @@ android_set_dashes (struct android_gc *gc, int dash_offset, /* Copy the list of segments into both arrays. */ for (i = 0; i < n; ++i) gc->dashes[i] = dash_list[i]; - verify (sizeof (int) == sizeof (jint)); + static_assert (sizeof (int) == sizeof (jint)); (*android_java_env)->SetIntArrayRegion (android_java_env, array, 0, n, (jint *) dash_list); |