From a769bace7fafadd983a243fc86c5c2aff29c2c27 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 3 Aug 2019 16:09:17 +0100 Subject: AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy Assignment --- audio/softsynth/fmtowns_pc98/towns_audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/softsynth/fmtowns_pc98/towns_audio.cpp b/audio/softsynth/fmtowns_pc98/towns_audio.cpp index 937b9bdbf0..1a12fa9443 100644 --- a/audio/softsynth/fmtowns_pc98/towns_audio.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_audio.cpp @@ -827,7 +827,7 @@ int TownsAudioInterfaceInternal::intf_unloadWaveTable(va_list &args) { _waveTablesTotalDataSize -= _waveTables[i].size; _waveTables[i].clear(); for (; i < _numWaveTables; i++) - memcpy(&_waveTables[i], &_waveTables[i + 1], sizeof(TownsAudio_WaveTable)); + _waveTables[i] = _waveTables[i + 1]; return 0; } } -- cgit v1.2.3