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;