aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sipp/files/patch-comp.c
blob: 2b687ac9328f48712b96c3eb27c0383cc9983e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- comp.c.orig Sun Sep 11 18:39:50 2005
+++ comp.c  Sun Sep 11 18:40:09 2005
@@ -40,15 +40,15 @@
   }
   
   *(void **)(&comp_compress) = dlsym(handle, "comp_compress");
-  if((error = dlerror()))  
+  if((error = (char *) dlerror()))  
     { strcpy(comp_error, error); return comp_error; }
   
   *(void **)(&comp_uncompress) = dlsym(handle, "comp_uncompress");
-  if((error = dlerror()))  
+  if((error = (char *) dlerror()))  
     { strcpy(comp_error, error); return comp_error; }
   
   *(void **)(&comp_free) = dlsym(handle, "comp_free");
-  if((error = dlerror()))  
+  if((error = (char *) dlerror()))  
     { strcpy(comp_error, error); return comp_error; }
   
   return 0;