Index: trunk/psLib/src/math/psMD5.c
===================================================================
--- trunk/psLib/src/math/psMD5.c	(revision 10309)
+++ trunk/psLib/src/math/psMD5.c	(revision 10319)
@@ -14,5 +14,5 @@
 {
     psVector *hash = psVectorAlloc(MD5_DIGEST_LENGTH, PS_TYPE_U8); // The resultant MD5 hash
-    if (!MD5(string, strlen(string), &hash->data.U8[0])) {
+    if (!MD5((const unsigned char *)string, strlen(string), &hash->data.U8[0])) {
         psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate md5 hash.\n");
         psFree(hash);
