summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-23 13:40:15 +0200
committerraveit65 <[email protected]>2016-06-24 13:45:05 +0200
commit300f71eb205a43609ddfceefce08559e09e9f7f3 (patch)
tree74a0b265fcb4da37c6cc51f964bddbbad4f5f915 /cut-n-paste
parentb307e10130b239f092905ac42028f499df74aa9b (diff)
downloadatril-300f71eb205a43609ddfceefce08559e09e9f7f3.tar.bz2
atril-300f71eb205a43609ddfceefce08559e09e9f7f3.tar.xz
synctex: fix compile warnings
taken from: https://git.gnome.org/browse/evince/commit/?id=8262397
Diffstat (limited to 'cut-n-paste')
-rw-r--r--cut-n-paste/synctex/synctex_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cut-n-paste/synctex/synctex_parser.c b/cut-n-paste/synctex/synctex_parser.c
index 9adc1fd1..638eb3d2 100644
--- a/cut-n-paste/synctex/synctex_parser.c
+++ b/cut-n-paste/synctex/synctex_parser.c
@@ -4351,8 +4351,8 @@ synctex_updater_t synctex_updater_new_with_output_file(const char * output, cons
_synctex_error("! synctex_updater_new_with_file: malloc problem");
return NULL;
}
- if (_synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_ADD_QUOTES,&io_mode)
- && _synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_DONT_ADD_QUOTES,&io_mode)) {
+ if (_synctex_open(output,build_directory,&synctex,(gzFile *)&SYNCTEX_FILE,synctex_ADD_QUOTES,&io_mode)
+ && _synctex_open(output,build_directory,&synctex,(gzFile *)&SYNCTEX_FILE,synctex_DONT_ADD_QUOTES,&io_mode)) {
return_on_error:
free(updater);
updater = NULL;