File: gcc14.patch

package info (click to toggle)
navit 0.5.6%2Bdfsg.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,056 kB
  • sloc: ansic: 178,969; xml: 8,666; sh: 5,554; cpp: 5,542; perl: 4,528; java: 4,453; objc: 1,004; php: 444; yacc: 288; python: 157; makefile: 56; javascript: 27
file content (13 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: navit/navit/graphics/svg_debug/graphics_svg_debug.c
===================================================================
--- navit.orig/navit/graphics/svg_debug/graphics_svg_debug.c
+++ navit/navit/graphics/svg_debug/graphics_svg_debug.c
@@ -170,7 +170,7 @@ static void svg_debug_gc_set_linewidth(s
 
 static void svg_debug_gc_set_dashes(struct graphics_gc_priv *gc, int w,
                                     int offset, unsigned char *dash_list, int n) {
-    gc->dashed = dash_list;
+    gc->dashed = (unsigned int*)dash_list;
     gc->is_dashed = TRUE;
     if (gc->graphics_gc_methods_proxy->gc_set_dashes) {
         gc->graphics_gc_methods_proxy->gc_set_dashes(gc->graphics_gc_priv_proxy,