*/
attr->stream = stream;
Dmsg1(400, "Attr: %s\n", rec);
- if (sscanf(rec, "%d %d", &attr->file_index, &attr->type) != 2) {
+ if (sscanf(rec, "%ld %ld", &attr->file_index, &attr->type) != 2) {
Jmsg(jcr, M_FATAL, 0, _("Error scanning attributes: %s\n"), rec);
Dmsg1(100, "\nError scanning attributes. %s\n", rec);
return 0;