diff options
author | jmz <jmz@FreeBSD.org> | 2000-01-02 00:37:42 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2000-01-02 00:37:42 +0800 |
commit | 978881a499231660a535ede15e65edf19dcc4207 (patch) | |
tree | 2a98fa80e4f886eae05d56f2131b23c61e7178fb /emulators | |
parent | ee350262c43a4e727bde8b016cf214f5af30b3c6 (diff) | |
download | freebsd-ports-gnome-978881a499231660a535ede15e65edf19dcc4207.tar.gz freebsd-ports-gnome-978881a499231660a535ede15e65edf19dcc4207.tar.zst freebsd-ports-gnome-978881a499231660a535ede15e65edf19dcc4207.zip |
Fix for new compiler.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/hfs/files/patch-a | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/emulators/hfs/files/patch-a b/emulators/hfs/files/patch-a new file mode 100644 index 000000000000..f4ac8f268cd8 --- /dev/null +++ b/emulators/hfs/files/patch-a @@ -0,0 +1,25 @@ +--- catalog.cxx~ Wed Oct 26 14:53:09 1994 ++++ catalog.cxx Sat Jan 1 17:32:13 2000 +@@ -613,7 +613,8 @@ + + // remainder are only valid if item is a file + if (isfile) { +- for (int i = 0; i < 4;i++) ++ int i; ++ for (i = 0; i < 4;i++) + creator[i] = fb.creator[i]; + for (i = 0; i < 4;i++) + filetype[i] = fb.filetype[i]; +--- volume.cxx~ Wed Oct 26 14:53:09 1994 ++++ volume.cxx Sat Jan 1 17:33:36 2000 +@@ -521,8 +521,9 @@ + BOOL DeviceVolume::Read (ULONG logical_block, void * buffer) + + { ++ int i; + Cache * c = cache; +- for (int i = 0; i < CacheSize; i++, c++) { ++ for (i = 0; i < CacheSize; i++, c++) { + if (c->lastUsed != 0 && c->block == logical_block) { + memcpy(buffer, c->buffer, LogicalBlockSize); + c->lastUsed = countLRU++; |