Changeset 2125 in MondoRescue for branches/2.2.8/mondo/src/common
- Timestamp:
- Jan 14, 2009, 3:50:19 PM (17 years ago)
- Location:
- branches/2.2.8/mondo/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/common/libmondo-mountlist.c
r2052 r2125 151 151 res++; 152 152 } 153 amount_allocated += mountlist->el[pos].size / 1024 ;153 amount_allocated += mountlist->el[pos].size / 1024L; 154 154 prev_sp_no = cur_sp_no; 155 155 } … … 304 304 res++; 305 305 } 306 amount_allocated += mountlist->el[pos].size / 1024 ;306 amount_allocated += mountlist->el[pos].size / 1024L; 307 307 prev_sp_no = cur_sp_no; 308 308 } … … 310 310 311 311 /* OK, continue with main loop */ 312 amount_allocated += mountlist->el[pos].size / 1024 ;312 amount_allocated += mountlist->el[pos].size / 1024L; 313 313 prev_part_no = curr_part_no; 314 314 } … … 459 459 } 460 460 /* OK, continue with main loop */ 461 amount_allocated += mountlist->el[pos].size / 1024 ;461 amount_allocated += mountlist->el[pos].size / 1024L; 462 462 prev_part_no = curr_part_no; 463 463 } -
branches/2.2.8/mondo/src/common/libmondo-string.c
r2105 r2125 401 401 sprintf(output, "%-24s %-24s %-10s %8lld", mountlist->el[lino].device, 402 402 mountlist->el[lino].mountpoint, mountlist->el[lino].format, 403 mountlist->el[lino].size / 1024 );403 mountlist->el[lino].size / 1024L); 404 404 return (output); 405 405 }
Note:
See TracChangeset
for help on using the changeset viewer.