summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2012-02-19 15:05:37 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2012-02-19 15:05:37 +0000
commit2f8094ea333d06e32d2694a467a4b40e0aa835c1 (patch)
tree1753d7564c778f44a4fce15ec7f64344a3e214de /src
parent3fc01aab1b63b0646f685784c6fa65b88cbe6638 (diff)
Compile fix for PPC OSX (nw)
Diffstat (limited to 'src')
-rw-r--r--src/lib/util/chd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c
index 788c588d3ac..53665056ea3 100644
--- a/src/lib/util/chd.c
+++ b/src/lib/util/chd.c
@@ -1284,7 +1284,7 @@ chd_error chd_file::clone_all_metadata(chd_file &source)
source.file_read(metaentry.offset + METADATA_HEADER_SIZE, filedata, metaentry.length);
// write it to the destination
- chd_error err = write_metadata(metaentry.metatag, -1, filedata, metaentry.length, metaentry.flags);
+ chd_error err = write_metadata(metaentry.metatag, (UINT32)-1, filedata, metaentry.length, metaentry.flags);
if (err != CHDERR_NONE)
throw err;
}