From 28e378fffb4ae3c17841a6c2706f8f7768a13fc3 Mon Sep 17 00:00:00 2001 From: Dietrich Epp Date: Tue, 16 Mar 2021 12:39:45 -0400 Subject: [PATCH] Fix incorrect types for vRefNum and parID GitOrigin-RevId: 04b016cb9a491a9c6ffc5f1e4df0bdc49f349ecb --- defs.h | 6 +++--- file.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/defs.h b/defs.h index 9fe0702..7f2ef09 100644 --- a/defs.h +++ b/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 diff --git a/file.c b/file.c index 3ff6742..53cd5f6 100644 --- a/file.c +++ b/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;