Share

Middleman filtering proxy server

Tracker: Bugs

5 Can't compile under GCC 3+, patch included - ID: 1807065
Last Update: Tracker Item Submitted ( chedlin )

lvalue casts are illegal,

Index: main.c
===================================================================
RCS file: /cvsroot/middle-man/middleman/src/main.c,v
retrieving revision 1.217
diff -u -r1.217 main.c
--- main.c 5 Aug 2004 02:01:16 -0000 1.217
+++ main.c 3 Oct 2007 17:13:12 -0000
@@ -482,7 +482,7 @@
#else
pcre_free = xfree;
// grr... argument to malloc is int on some systems, and long on
others
- (void *) pcre_malloc = (void *) xmalloc;
+ pcre_malloc = (void* (*)(size_t)) xmalloc;
#endif

global->dns_cache = hash_create(DNS_HASH_SIZE);


Charlie Hedlin ( chedlin ) - 2007-10-03 17:13

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.