p = talloc_asprintf(ctx,
",%s:%lu",
attr_strings.create_time_attr,
- create_time);
+ (unsigned long) create_time);
if (!p) {
errno = ENOMEM;
return -1;
n = snprintf(buf, bufsize,
",%s:%lu",
attr_strings.create_time_attr,
- create_time);
+ (unsigned long) create_time);
}
} else if (StrCaseCmp(name, attr_strings.create_time_attr) == 0) {
if (determine_size) {
- p = talloc_asprintf(ctx, "%lu", create_time);
+ p = talloc_asprintf(ctx, "%lu", (unsigned long) create_time);
if (!p) {
errno = ENOMEM;
return -1;
n = strlen(p);
} else {
n = snprintf(buf, bufsize,
- "%lu", create_time);
+ "%lu", (unsigned long) create_time);
}
}
p = talloc_asprintf(ctx,
",%s:%lu",
attr_strings.access_time_attr,
- access_time);
+ (unsigned long) access_time);
if (!p) {
errno = ENOMEM;
return -1;
n = snprintf(buf, bufsize,
",%s:%lu",
attr_strings.access_time_attr,
- access_time);
+ (unsigned long) access_time);
}
} else if (StrCaseCmp(name, attr_strings.access_time_attr) == 0) {
if (determine_size) {
- p = talloc_asprintf(ctx, "%lu", access_time);
+ p = talloc_asprintf(ctx, "%lu", (unsigned long) access_time);
if (!p) {
errno = ENOMEM;
return -1;
n = strlen(p);
} else {
n = snprintf(buf, bufsize,
- "%lu", access_time);
+ "%lu", (unsigned long) access_time);
}
}
p = talloc_asprintf(ctx,
",%s:%lu",
attr_strings.write_time_attr,
- write_time);
+ (unsigned long) write_time);
if (!p) {
errno = ENOMEM;
return -1;
n = snprintf(buf, bufsize,
",%s:%lu",
attr_strings.write_time_attr,
- write_time);
+ (unsigned long) write_time);
}
} else if (StrCaseCmp(name, attr_strings.write_time_attr) == 0) {
if (determine_size) {
- p = talloc_asprintf(ctx, "%lu", write_time);
+ p = talloc_asprintf(ctx, "%lu", (unsigned long) write_time);
if (!p) {
errno = ENOMEM;
return -1;
n = strlen(p);
} else {
n = snprintf(buf, bufsize,
- "%lu", write_time);
+ "%lu", (unsigned long) write_time);
}
}
p = talloc_asprintf(ctx,
",%s:%lu",
attr_strings.change_time_attr,
- change_time);
+ (unsigned long) change_time);
if (!p) {
errno = ENOMEM;
return -1;
n = snprintf(buf, bufsize,
",%s:%lu",
attr_strings.change_time_attr,
- change_time);
+ (unsigned long) change_time);
}
} else if (StrCaseCmp(name, attr_strings.change_time_attr) == 0) {
if (determine_size) {
- p = talloc_asprintf(ctx, "%lu", change_time);
+ p = talloc_asprintf(ctx, "%lu", (unsigned long) change_time);
if (!p) {
errno = ENOMEM;
return -1;
n = strlen(p);
} else {
n = snprintf(buf, bufsize,
- "%lu", change_time);
+ "%lu", (unsigned long) change_time);
}
}