local synctex change: fix the printf specifier for a parameter (of type size_t), to be %zd instead of %d
add the change as local patch 05-fix-error-formats.diff svn path=/trunk/KDE/kdegraphics/okular/; revision=1003109remotes/origin/KDE/4.4
parent
fe8ab0045e
commit
a36b9042bd
3 changed files with 15 additions and 1 deletions
@ -0,0 +1,13 @@ |
||||
Index: synctex/synctex_parser.c
|
||||
===================================================================
|
||||
--- synctex.orig/synctex_parser.c 2009-07-27 19:21:55.000000000 +0200
|
||||
+++ synctex/synctex_parser.c 2009-07-27 19:22:47.000000000 +0200
|
||||
@@ -1418,7 +1418,7 @@
|
||||
len = SYNCTEX_END - SYNCTEX_CUR;
|
||||
if(current_size>UINT_MAX-len-1) {
|
||||
/* We have reached the limit. */
|
||||
- _synctex_error("! limit reached (missing %i).",current_size-(UINT_MAX-len-1));
|
||||
+ _synctex_error("! limit reached (missing %zd).",current_size-(UINT_MAX-len-1));
|
||||
return SYNCTEX_STATUS_ERROR;
|
||||
}
|
||||
new_size = current_size+len;
|
||||
Loading…
Reference in new issue