diff options
Diffstat (limited to 'misc/estic/files/patch-areacode.c')
-rw-r--r-- | misc/estic/files/patch-areacode.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/estic/files/patch-areacode.c b/misc/estic/files/patch-areacode.c new file mode 100644 index 000000000000..e9d55a57ee17 --- /dev/null +++ b/misc/estic/files/patch-areacode.c @@ -0,0 +1,11 @@ +--- areacode/areacode.c.orig 1997-02-16 11:24:50.000000000 +0100 ++++ areacode/areacode.c 2014-03-31 19:07:27.000000000 +0200 +@@ -352,7 +352,7 @@ + /* Load a part of the table into memory */ + { + u32 SpaceNeeded = (Desc->Last - Desc->First + 1) * sizeof (u32); +- Desc->Table = malloc (SpaceNeeded); ++ Desc->Table = (u32*) malloc (SpaceNeeded); + if (Desc->Table == 0) { + /* Out of memory. There is no problem with this now since we do + * not really need the table in core memory (it speeds things up, |