Warning, /graphics/okular/core/synctex/patches/14-fix-misc-compiler-warnings.diff is written in an unsupported language. File is not indexed.

0001 Fix even more compiler warnings
0002 Author: Henrik Fehlauer <rkflx@lab12.net>
0003 
0004 Index: synctex/synctex_parser.c
0005 ===================================================================
0006 --- synctex.orig/synctex_parser.c
0007 +++ synctex/synctex_parser.c
0008 @@ -529,8 +529,8 @@ typedef struct synctex_reader_t {
0009      char * current; /*  current location in the buffer */
0010      char * start;   /*  start of the buffer */
0011      char * end;     /*  end of the buffer */
0012 -    int min_size;
0013 -    int size;
0014 +    size_t min_size;
0015 +    size_t size;
0016      int lastv;
0017      int line_number;
0018      SYNCTEX_DECLARE_CHAR_OFFSET
0019 @@ -759,7 +759,6 @@ synctex_reader_p synctex_reader_init_wit
0020              (char *)_synctex_malloc(reader->size+1); /*  one more character for null termination */
0021          if (NULL == reader->start) {
0022              _synctex_error("!  malloc error in synctex_reader_init_with_output_file.");
0023 -        bailey:
0024  #ifdef SYNCTEX_DEBUG
0025              return reader;
0026  #else
0027 @@ -5293,7 +5292,7 @@ content_loop:
0028  #       pragma mark + SCAN KERN
0029  #   endif
0030              ns = _synctex_parse_new_kern(scanner);
0031 -        continue_scan:
0032 +        /* continue_scan: */
0033              if (ns.status == SYNCTEX_STATUS_OK) {
0034                  if (child) {
0035                      _synctex_node_set_sibling(child,ns.node);
0036 @@ -6531,7 +6530,7 @@ SYNCTEX_INLINE static synctex_point_s _s
0037      return old;
0038  }
0039  SYNCTEX_INLINE static synctex_box_s _synctex_data_box(synctex_node_p node) {
0040 -    synctex_box_s box = {0,0,0,0};
0041 +    synctex_box_s box = {{0,0},{0,0}};
0042      int n;
0043      n = synctex_node_width(node);
0044      if (n<0) {
0045 @@ -6547,7 +6546,7 @@ SYNCTEX_INLINE static synctex_box_s _syn
0046      return box;
0047  }
0048  SYNCTEX_INLINE static synctex_box_s _synctex_data_xob(synctex_node_p node) {
0049 -    synctex_box_s box = {0,0,0,0};
0050 +    synctex_box_s box = {{0,0},{0,0}};
0051      int n;
0052      n = synctex_node_width(node);
0053      if (n>0) {
0054 @@ -6563,7 +6562,7 @@ SYNCTEX_INLINE static synctex_box_s _syn
0055      return box;
0056  }
0057  SYNCTEX_INLINE static synctex_box_s _synctex_data_box_V(synctex_node_p node) {
0058 -    synctex_box_s box = {0,0,0,0};
0059 +    synctex_box_s box = {{0,0},{0,0}};
0060      int n;
0061      n = _synctex_node_width_V(node);
0062      if (n<0) {