mirror of
https://github.com/depp/syncfiles.git
synced 2025-02-19 20:30:39 +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
|
||||
// directory must be a valid directory on the destination volume.
|
||||
int sync_file(struct file_info *file, convert_func func, long srcVol,
|
||||
short srcDir, long destVol, short destDir, long tempVol,
|
||||
short tempDir);
|
||||
int sync_file(struct file_info *file, convert_func func, short srcVol,
|
||||
long srcDir, short destVol, long destDir, short tempVol,
|
||||
long tempDir);
|
||||
|
||||
// =============================================================================
|
||||
// conversion
|
||||
|
6
file.c
6
file.c
@ -266,9 +266,9 @@ error:
|
||||
return 1;
|
||||
}
|
||||
|
||||
int sync_file(struct file_info *file, convert_func func, long srcVol,
|
||||
short srcDir, long destVol, short destDir, long tempVol,
|
||||
short tempDir) {
|
||||
int sync_file(struct file_info *file, convert_func func, short srcVol,
|
||||
long srcDir, short destVol, long destDir, short tempVol,
|
||||
long tempDir) {
|
||||
FSSpec src, dest;
|
||||
Ptr srcData = NULL, destData = NULL;
|
||||
long srcLength, destLength;
|
||||
|
Loading…
x
Reference in New Issue
Block a user