[memprof: 18/76] process.c: Cast to char* from const char*



commit 0081716cb809f8df65819b1098919667a29267c7
Author: Holger Hans Peter Freyther <zecke selfish org>
Date:   Thu Jun 4 13:08:42 2009 +0200

    process.c: Cast to char* from const char*

 src/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/process.c b/src/process.c
index 1ab10a0..8b11c7f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -964,7 +964,7 @@ symbol_copy  (const char *orig)
 	if (!orig)
 		return NULL;
 
-	return orig;
+	return (char *) orig;
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]