Fix incorrect types for vRefNum and parID

GitOrigin-RevId: 04b016cb9a491a9c6ffc5f1e4df0bdc49f349ecb
This commit is contained in:
Dietrich Epp 2021-03-16 12:39:45 -04:00
parent a13293fc92
commit 28e378fffb
2 changed files with 6 additions and 6 deletions

6
defs.h
View File

@ -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
View File

@ -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;