fprintf(stdout,"posn\tleft\tright\tparent\tminchild\t...\n");
for (i = 1; i < q->size ;i++) {
fprintf(stdout,
- "%d\t%d\t%d\t%d\t%d\t",
+ "%d\t%d\t%d\t%d\t%" APR_SSIZE_T_FMT "\t",
i,
left(i), right(i), parent(i),
minchild(q, i));
{
apr_size_t val;
- if (sscanf(arg, "%d", &val) != 1) {
+ if (sscanf(arg, "%" APR_SIZE_T_FMT, &val) != 1) {
return "MCacheSize argument must be an integer representing the max cache size in KBytes.";
}
sconf->max_cache_size = val*1024;
{
apr_size_t val;
- if (sscanf(arg, "%d", &val) != 1) {
+ if (sscanf(arg, "%" APR_SIZE_T_FMT, &val) != 1) {
return "MCacheMinObjectSize value must be an integer (bytes)";
}
sconf->min_cache_object_size = val;
{
apr_size_t val;
- if (sscanf(arg, "%d", &val) != 1) {
+ if (sscanf(arg, "%" APR_SIZE_T_FMT, &val) != 1) {
return "MCacheMaxObjectSize value must be an integer (bytes)";
}
sconf->max_cache_object_size = val;
{
apr_size_t val;
- if (sscanf(arg, "%d", &val) != 1) {
+ if (sscanf(arg, "%" APR_SIZE_T_FMT, &val) != 1) {
return "MCacheMaxObjectCount value must be an integer";
}
sconf->max_object_cnt = val;