IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2006, 10:03:09 AM (20 years ago)
Author:
magnier
Message:

changed string to unsigned char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMD5.c

    r10309 r10319  
    1414{
    1515    psVector *hash = psVectorAlloc(MD5_DIGEST_LENGTH, PS_TYPE_U8); // The resultant MD5 hash
    16     if (!MD5(string, strlen(string), &hash->data.U8[0])) {
     16    if (!MD5((const unsigned char *)string, strlen(string), &hash->data.U8[0])) {
    1717        psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate md5 hash.\n");
    1818        psFree(hash);
Note: See TracChangeset for help on using the changeset viewer.