aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/androidfont.c')
-rw-r--r--src/androidfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/androidfont.c b/src/androidfont.c
index 5cd23a006e8..96dcffa45ec 100644
--- a/src/androidfont.c
+++ b/src/androidfont.c
@@ -654,7 +654,7 @@ androidfont_draw (struct glyph_string *s, int from, int to,
654 /* Maybe initialize the font driver. */ 654 /* Maybe initialize the font driver. */
655 androidfont_check_init (); 655 androidfont_check_init ();
656 656
657 verify (sizeof (unsigned int) == sizeof (jint)); 657 static_assert (sizeof (unsigned int) == sizeof (jint));
658 info = (struct androidfont_info *) s->font; 658 info = (struct androidfont_info *) s->font;
659 659
660 gcontext = android_resolve_handle (s->gc->gcontext); 660 gcontext = android_resolve_handle (s->gc->gcontext);
@@ -932,7 +932,7 @@ androidfont_text_extents (struct font *font, const unsigned int *code,
932 memory_full (0); 932 memory_full (0);
933 } 933 }
934 934
935 verify (sizeof (unsigned int) == sizeof (jint)); 935 static_assert (sizeof (unsigned int) == sizeof (jint));
936 936
937 /* Always true on every Android device. */ 937 /* Always true on every Android device. */
938 (*android_java_env)->SetIntArrayRegion (android_java_env, 938 (*android_java_env)->SetIntArrayRegion (android_java_env,