diff options
| author | 2008-06-05 14:10:56 +0000 | |
|---|---|---|
| committer | 2008-06-05 14:10:56 +0000 | |
| commit | 317607a143cf340762377913627bf86a547dbb4e (patch) | |
| tree | bc3ff1413af9d21379e93c6933310e77f4880c5c | |
| parent | 5b94cc19d52886c3d39bb28e52320e3553ce796d (diff) | |
64-bit GCC compile fixes.
| -rw-r--r-- | src/emu/cheat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c index 83447c7e61f..1169cdb34e5 100644 --- a/src/emu/cheat.c +++ b/src/emu/cheat.c @@ -11741,19 +11741,19 @@ static void load_cheat_code(running_machine *machine, char *file_name) /* check length */ if(strlen(pre_type) != format->type_matched) { - logerror("cheat: [load code] %s has invalid type field length (%X)\n", description, strlen(pre_type)); + logerror("cheat: [load code] %s has invalid type field length (%X)\n", description, (int)strlen(pre_type)); is_error++; } if(strlen(pre_data) != format->data_matched) { - logerror("cheat: [load code] %s has invalid data field length (%X)\n", description, strlen(pre_type)); + logerror("cheat: [load code] %s has invalid data field length (%X)\n", description, (int)strlen(pre_type)); is_error++; } if(strlen(pre_extend_data) != format->data_matched) { - logerror("cheat: [load code] %s has invalid extend data field length (%X)\n", description, strlen(pre_extend_data)); + logerror("cheat: [load code] %s has invalid extend data field length (%X)\n", description, (int)strlen(pre_extend_data)); is_error++; } |
