mirror of
https://github.com/depp/syncfiles.git
synced 2024-06-08 18:29:30 +00:00
Fix incorrect types for vRefNum and parID
GitOrigin-RevId: 04b016cb9a491a9c6ffc5f1e4df0bdc49f349ecb
This commit is contained in:
parent
a13293fc92
commit
28e378fffb
6
defs.h
6
defs.h
|
@ -87,9 +87,9 @@ struct file_info {
|
||||||
|
|
||||||
// Synchronize a file according to the action in the action field. The temporary
|
// Synchronize a file according to the action in the action field. The temporary
|
||||||
// directory must be a valid directory on the destination volume.
|
// directory must be a valid directory on the destination volume.
|
||||||
int sync_file(struct file_info *file, convert_func func, long srcVol,
|
int sync_file(struct file_info *file, convert_func func, short srcVol,
|
||||||
short srcDir, long destVol, short destDir, long tempVol,
|
long srcDir, short destVol, long destDir, short tempVol,
|
||||||
short tempDir);
|
long tempDir);
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
// conversion
|
// conversion
|
||||||
|
|
6
file.c
6
file.c
|
@ -266,9 +266,9 @@ error:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sync_file(struct file_info *file, convert_func func, long srcVol,
|
int sync_file(struct file_info *file, convert_func func, short srcVol,
|
||||||
short srcDir, long destVol, short destDir, long tempVol,
|
long srcDir, short destVol, long destDir, short tempVol,
|
||||||
short tempDir) {
|
long tempDir) {
|
||||||
FSSpec src, dest;
|
FSSpec src, dest;
|
||||||
Ptr srcData = NULL, destData = NULL;
|
Ptr srcData = NULL, destData = NULL;
|
||||||
long srcLength, destLength;
|
long srcLength, destLength;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user