celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [29/50] celix git commit: CELIX-348: Adds neededc cast for string hash function
Date Mon, 11 Apr 2016 10:54:56 GMT
CELIX-348: Adds neededc cast for string hash function


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/9012020c
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/9012020c
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/9012020c

Branch: refs/heads/release/celix-2.0.0
Commit: 9012020c389e7219a1da64cbc11e85d57c62101b
Parents: 13f34df
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Wed Feb 10 08:46:39 2016 +0100
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Wed Feb 10 08:46:39 2016 +0100

----------------------------------------------------------------------
 framework/private/src/utils.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/9012020c/framework/private/src/utils.c
----------------------------------------------------------------------
diff --git a/framework/private/src/utils.c b/framework/private/src/utils.c
index a072623..fdb0f62 100644
--- a/framework/private/src/utils.c
+++ b/framework/private/src/utils.c
@@ -28,7 +28,8 @@
 
 #include "utils.h"
 
-unsigned int utils_stringHash(void * string) {
+unsigned int utils_stringHash(void * strPtr) {
+    char * string = strPtr;
     unsigned int hash = 5381;
     unsigned int i = 0;
     unsigned int len = strlen(string);


Mime
View raw message