diff options
author | Fritz Elfert <felfert@to.com> | 2001-02-04 04:23:06 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-02-04 04:23:06 +0000 |
commit | a7e4250b20fa5012942c4fe05ee0c7f701c5799f (patch) | |
tree | 087ef59c3c88713aa8c7b3150a2ae114c04a929e /plpbackup | |
parent | 1664530e8f0e1ac6e762a1c79629fcec86f68724 (diff) | |
download | plptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.tar.gz plptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.tar.bz2 plptools-a7e4250b20fa5012942c4fe05ee0c7f701c5799f.zip |
Cleaned up ppsocket.
More 64bit-related stuff.
Diffstat (limited to 'plpbackup')
-rw-r--r-- | plpbackup/plpbackup.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plpbackup/plpbackup.cc b/plpbackup/plpbackup.cc index 8735ea3..48e3202 100644 --- a/plpbackup/plpbackup.cc +++ b/plpbackup/plpbackup.cc @@ -156,7 +156,7 @@ runrestore(rfsv *a, rpcs *r) { // the ususal \System\Apps\<AppName>\<AppName>.app // on all drives. if (strchr(cmd, '\\') == NULL) { - long devbits; + u_int32_t devbits; char tmp[512]; if ((res = a->devlist(devbits)) == rfsv::E_PSI_GEN_NONE) { int i; @@ -215,7 +215,7 @@ collectFiles(rfsv *a, char *dir) { } static int -reportProgress(void *, long size) +reportProgress(void *, u_int32_t size) { unsigned long percent; char pstr[10]; @@ -416,12 +416,13 @@ main(int argc, char **argv) } } else { char drive[3]; - long devbits; - long vtotal, vfree, vattr, vuniqueid; + u_int32_t devbits; + u_int32_t vtotal, vfree, vattr, vuniqueid; if (a->devlist(devbits) == rfsv::E_PSI_GEN_NONE) { for (i = 0; i < 26; i++) { - if ((devbits & 1) && a->devinfo(i, vfree, vtotal, vattr, vuniqueid, NULL) == rfsv::E_PSI_GEN_NONE) { + string n; + if ((devbits & 1) && a->devinfo(i, vfree, vtotal, vattr, vuniqueid, n) == rfsv::E_PSI_GEN_NONE) { if (vattr != 7) { sprintf(drive, "%c:\0", 'A' + i); if (verbose > 0) |