(void) GetTypeInfo("*",exception);
if (type_cache == (SplayTreeInfo *) NULL)
return((TypeInfo *) NULL);
- font_weight=weight == 0 ? 400 : weight;
+ font_weight=(size_t) (weight == 0 ? 400 : weight);
LockSemaphoreInfo(type_semaphore);
ResetSplayTreeIterator(type_cache);
type_info=(const TypeInfo *) NULL;
weight=ParseCommandOption(MagickWeightOptions,MagickFalse,token);
if (weight == -1)
- weight=StringToUnsignedLong(token);
+ weight=(ssize_t) StringToUnsignedLong(token);
type_info->weight=(size_t) weight;
break;
}