]> git.pld-linux.org Git - packages/libraqm.git/blob - libraqm-format.patch
- new
[packages/libraqm.git] / libraqm-format.patch
1 --- raqm-0.2.0/src/raqm.c.orig  2016-08-25 14:12:55.000000000 +0200
2 +++ raqm-0.2.0/src/raqm.c       2017-05-10 21:52:39.004931212 +0200
3 @@ -1541,7 +1541,7 @@
4  
5    if (rq->flags & RAQM_FLAG_UTF8)
6      *index = _raqm_u32_to_u8_index (rq, *index);
7 -  RAQM_TEST ("The position is %d at index %ld\n",*x ,*index);
8 +  RAQM_TEST ("The position is %d at index %zd\n",*x ,*index);
9    return true;
10  }
11  
12 @@ -1625,7 +1625,7 @@
13          }
14          if (_raqm_allowed_grapheme_boundary (rq->text[*index],rq->text[*index + 1]))
15          {
16 -          RAQM_TEST ("The start-index is %ld  at position %d \n", *index, x);
17 +          RAQM_TEST ("The start-index is %zd  at position %d \n", *index, x);
18              return true;
19          }
20  
21 @@ -1639,7 +1639,7 @@
22            }
23            *index += 1;
24          }
25 -        RAQM_TEST ("The start-index is %ld  at position %d \n", *index, x);
26 +        RAQM_TEST ("The start-index is %zd  at position %d \n", *index, x);
27          return true;
28        }
29        else
30 @@ -1653,7 +1653,7 @@
31    else
32      *index = rq->text_len;
33  
34 -  RAQM_TEST ("The start-index is %ld  at position %d \n", *index, x);
35 +  RAQM_TEST ("The start-index is %zd  at position %d \n", *index, x);
36  
37    return true;
38  }
This page took 0.038722 seconds and 3 git commands to generate.