aboutsummaryrefslogtreecommitdiffstats
path: root/src/fringe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fringe.c b/src/fringe.c
index a7e8dad482e..74f41f00873 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -719,7 +719,7 @@ static int
719get_logical_fringe_bitmap (struct window *w, Lisp_Object bitmap, int right_p, int partial_p) 719get_logical_fringe_bitmap (struct window *w, Lisp_Object bitmap, int right_p, int partial_p)
720{ 720{
721 Lisp_Object cmap, bm1 = Qnil, bm2 = Qnil, bm; 721 Lisp_Object cmap, bm1 = Qnil, bm2 = Qnil, bm;
722 EMACS_INT ln1 = 0, ln2 = 0; 722 ptrdiff_t ln1 = 0, ln2 = 0;
723 int ix1 = right_p; 723 int ix1 = right_p;
724 int ix2 = ix1 + (partial_p ? 2 : 0); 724 int ix2 = ix1 + (partial_p ? 2 : 0);
725 725
@@ -743,7 +743,7 @@ get_logical_fringe_bitmap (struct window *w, Lisp_Object bitmap, int right_p, in
743 return NO_FRINGE_BITMAP; 743 return NO_FRINGE_BITMAP;
744 if (CONSP (bm1)) 744 if (CONSP (bm1))
745 { 745 {
746 ln1 = XFIXNUM (Flength (bm1)); 746 ln1 = list_length (bm1);
747 if (partial_p) 747 if (partial_p)
748 { 748 {
749 if (ln1 > ix2) 749 if (ln1 > ix2)
@@ -778,7 +778,7 @@ get_logical_fringe_bitmap (struct window *w, Lisp_Object bitmap, int right_p, in
778 { 778 {
779 if (CONSP (bm2)) 779 if (CONSP (bm2))
780 { 780 {
781 ln2 = XFIXNUM (Flength (bm2)); 781 ln2 = list_length (bm2);
782 if (partial_p) 782 if (partial_p)
783 { 783 {
784 if (ln2 > ix2) 784 if (ln2 > ix2)