%
*/
-static MagickSizeType CRC64(const unsigned char *message,
- const MagickSizeType length)
+static size_t CRC64(const unsigned char *message,const MagickSizeType length)
{
- MagickSizeType
+ size_t
crc;
register MagickOffsetType
static MagickBooleanType
crc_initial = MagickFalse;
- static MagickSizeType
+ static size_t
crc_xor[256];
/*
*/
if (crc_initial == MagickFalse)
{
- MagickSizeType
+ size_t
alpha;
for (i=0; i < 256; i++)
if ((alpha & 0x01) == 0)
alpha>>=1;
else
- alpha=(MagickSizeType) ((alpha >> 1) ^
+ alpha=(size_t) ((alpha >> 1) ^
MagickULLConstant(0xd800000000000000));
}
crc_xor[i]=alpha;
}
static int ConnectPixelCacheServer(const char *hostname,const int port,
- MagickSizeType *session_key,ExceptionInfo *exception)
+ size_t *session_key,ExceptionInfo *exception)
{
#if defined(MAGICKCORE_HAVE_SOCKET)
char
count=recv(client_socket,secret,MaxTextExtent,0);
if (count != -1)
{
- MagickSizeType
+ size_t
signature;
(void) memcpy(p,secret,(size_t) count);
DistributeCacheInfo
*server_info;
- MagickSizeType
+ size_t
session_key;
/*
*/
static MagickBooleanType DestroyDistributeCache(SplayTreeInfo *registry,
- int file,const MagickSizeType session_key)
+ int file,const size_t session_key)
{
/*
Destroy distributed pixel cache.
}
static MagickBooleanType OpenDistributeCache(SplayTreeInfo *registry,
- int file,const MagickSizeType session_key,ExceptionInfo *exception)
+ int file,const size_t session_key,ExceptionInfo *exception)
{
Image
*image;
}
static MagickBooleanType ReadDistributeCacheMetacontent(SplayTreeInfo *registry,
- int file,const MagickSizeType session_key,ExceptionInfo *exception)
+ int file,const size_t session_key,ExceptionInfo *exception)
{
const unsigned char
*metacontent;
}
static MagickBooleanType ReadDistributeCachePixels(SplayTreeInfo *registry,
- int file,const MagickSizeType session_key,ExceptionInfo *exception)
+ int file,const size_t session_key,ExceptionInfo *exception)
{
Image
*image;
}
static MagickBooleanType WriteDistributeCacheMetacontent(
- SplayTreeInfo *registry,int file,const MagickSizeType session_key,
+ SplayTreeInfo *registry,int file,const size_t session_key,
ExceptionInfo *exception)
{
Image
}
static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry,
- int file,const MagickSizeType session_key,ExceptionInfo *exception)
+ int file,const size_t session_key,ExceptionInfo *exception)
{
Image
*image;
MagickOffsetType
count;
- MagickSizeType
- key,
- session_key,
- signature;
-
register unsigned char
*p;
RandomInfo
*random_info;
+ size_t
+ key,
+ session_key;
+ signature;
+
SplayTreeInfo
*registry;