File: 03_fixgccwarnings.diff

package info (click to toggle)
python-gd 0.59-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 456 kB
  • ctags: 425
  • sloc: ansic: 1,655; python: 183; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix gcc warnings.
Forwarded: no
Last-Update: 2016-09-15
Author: Julián Moreno Patiño <julian@debian.org>
--- a/_gdmodule.c
+++ b/_gdmodule.c
@@ -165,7 +165,7 @@
 
 
 // 2.0.22 replaces gdFontTinyRep with gdFontGetTiny, and so on
-typedef gdFontPtr (*ptrGetFontFunction)();
+typedef gdFontPtr (*ptrGetFontFunction)(void);
 typedef struct {
     char *name;
     ptrGetFontFunction func;