~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/checksum.cc

Merged from Toru - removal of my_time_t.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#include "mysys_priv.h"
18
18
 
19
 
#include <my_sys.h>
20
19
#include <zlib.h>
21
20
 
22
21
/*
29
28
      length    length of the block
30
29
*/
31
30
 
32
 
ha_checksum my_checksum(ha_checksum crc, const uchar *pos, size_t length)
 
31
ha_checksum my_checksum(ha_checksum crc, const unsigned char *pos, size_t length)
33
32
{
34
33
  return (ha_checksum)crc32((uint)crc, pos, length);
35
34
}