Changeset 170 for trunk/src/sh_tiger0.c


Ignore:
Timestamp:
Apr 30, 2008, 11:56:45 PM (17 years ago)
Author:
katerina
Message:

Plenty of compiler warnings fixed, SQL query length fixed, doc update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_tiger0.c

    r167 r170  
    6464#if defined(TIGER_64_BIT)
    6565
    66 void tiger_t(word64 *str, word64 length, word64 * res);
    67 void tiger(word64 *str, word64 length, word64 * res);
     66void tiger_t(const word64 *str, word64 length, word64 * res);
     67void tiger(const word64 *str, word64 length, word64 * res);
    6868
    6969#ifdef TIGER_DBG
     
    7575#endif
    7676#else
    77 void tiger(sh_word32 *str, sh_word32 length, sh_word32 * res);
    78 void tiger_t(sh_word32 *str, sh_word32 length, sh_word32 * res);
     77void tiger(const sh_word32 *str, sh_word32 length, sh_word32 * res);
     78void tiger_t(const sh_word32 *str, sh_word32 length, sh_word32 * res);
    7979
    8080#ifdef TIGER_DBG
     
    139139
    140140#if defined(TIGER_64_BIT)
    141 #define TIGER_CAST (word64*)
     141#define TIGER_CAST (const word64*)
    142142  /* word64 res[3]; */
    143143  res[0]= (word64) 0x0123456789ABCDEFLL;
     
    145145  res[2]= (word64) 0xF096A5B4C3B2E187LL;
    146146#else
    147 #define TIGER_CAST (sh_word32*)
     147#define TIGER_CAST (const sh_word32*)
    148148  /* sh_word32 res[6]; */
    149149  res[0]= (sh_word32) 0x89ABCDEF;
Note: See TracChangeset for help on using the changeset viewer.