File: SetClassProcsPtr_add_const.patch

package info (click to toggle)
togl 2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,504 kB
  • sloc: ansic: 5,979; sh: 591; python: 75; javascript: 19; makefile: 16
file content (13 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/togl.c b/togl.c
index b7f1bef..0e1190f 100644
--- a/togl.c
+++ b/togl.c
@@ -132,7 +132,7 @@
 /* pointer to Tk_SetClassProcs function in the stub table */
 
 static void (*SetClassProcsPtr)
-        _ANSI_ARGS_((Tk_Window, Tk_ClassProcs *, ClientData));
+        _ANSI_ARGS_((Tk_Window, const Tk_ClassProcs *, ClientData));
 #endif
 
 /*