File: Pow-Fix-compiler-warnings.patch

package info (click to toggle)
ftools-fv 5.5.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,076 kB
  • sloc: tcl: 50,770; ansic: 17,858; exp: 2,004; makefile: 172; cpp: 169; sh: 113; csh: 10
file content (23 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Ole Streicher <olebole@debian.org>
Date: Mon, 26 Mar 2018 17:13:33 +0200
Subject: [Pow] Fix compiler warnings.

The package compiles fine without this patch, so it may be dropped
if it does not apply cleanly.
---
 tcltk/pow/PowCanvCurve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcltk/pow/PowCanvCurve.c b/tcltk/pow/PowCanvCurve.c
index 4c94cb9..ff7904e 100644
--- a/tcltk/pow/PowCanvCurve.c
+++ b/tcltk/pow/PowCanvCurve.c
@@ -280,7 +280,7 @@ PowCurveCoords(interp, canvas, itemPtr, objc, objv)
     PowCurveItem *powCurvePtr = (PowCurveItem *) itemPtr;
     double *pCoordPtr, *lCoordPtr;
     /*From the old PowProcessCurve command */
-    char **bboxptr;
+    const char **bboxptr;
     double x0 , x1, y0, y1;
     double rx0 , rx1, ry0, ry1, ry, rx;
     int n, xoff, yoff, xeoff, yeoff;