fb1d11d9a5
Change-Id: Ie85f8092e0c37124508123a1d2f942f50f0740da Reviewed-on: https://gerrit.libreoffice.org/2197 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Peter Foley <pefoley2@verizon.net>
21 lines
716 B
Diff
21 lines
716 B
Diff
--- misc/xpdf-3.02/xpdf/Error.h.sav 2007-02-27 23:05:52.000000000 +0100
|
|
+++ misc/xpdf-3.02/xpdf/Error.h 2012-10-09 23:24:12.002455791 +0200
|
|
@@ -18,6 +18,6 @@
|
|
#include <stdio.h>
|
|
#include "config.h"
|
|
|
|
-extern void CDECL error(int pos, char *msg, ...);
|
|
+extern void CDECL error(int pos, const char *msg, ...);
|
|
|
|
#endif
|
|
--- build/xpdf-3.02/xpdf/Error.cc.sav 2007-02-27 23:05:52.000000000 +0100
|
|
+++ build/xpdf-3.02/xpdf/Error.cc 2012-10-09 23:24:27.813569809 +0200
|
|
@@ -18,7 +18,7 @@
|
|
#include "GlobalParams.h"
|
|
#include "Error.h"
|
|
|
|
-void CDECL error(int pos, char *msg, ...) {
|
|
+void CDECL error(int pos, const char *msg, ...) {
|
|
va_list args;
|
|
|
|
// NB: this can be called before the globalParams object is created
|