diff options
Diffstat (limited to 'repo/x11/motif/06-cast-size_t-to-int.patch')
-rw-r--r-- | repo/x11/motif/06-cast-size_t-to-int.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/repo/x11/motif/06-cast-size_t-to-int.patch b/repo/x11/motif/06-cast-size_t-to-int.patch deleted file mode 100644 index b5ce9c6..0000000 --- a/repo/x11/motif/06-cast-size_t-to-int.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: To prevent build failure during building with Hardening options - enabled due to "format '%d' expects argument of type 'int', but argument 5 has - type 'size_t'", the fifth argument is cast to integer on the input. -Author: Paul Gevers <elbrus@debian.org> -Updated: 13-01-2013 - ---- a/tools/wml/wmloutkey.c -+++ b/tools/wml/wmloutkey.c -@@ -627,7 +627,7 @@ - fprintf (outfil, " {%s, %s, %d, %s, \"%s\"},\n", - tkclass, - tksym, -- strlen(tokstg), -+ (int)strlen(tokstg), - tktoken, - tokstg); - if ( (int)strlen(tokstg) > *maxlen ) |