aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorD G Turner2019-08-03 16:09:17 +0100
committerD G Turner2019-08-03 16:09:17 +0100
commita769bace7fafadd983a243fc86c5c2aff29c2c27 (patch)
treefbefe8fc36535a50479e49da38b68a7414db1b50 /audio
parent466b162996697850872832f98e2ffbb0a3e826e9 (diff)
downloadscummvm-rg350-a769bace7fafadd983a243fc86c5c2aff29c2c27.tar.gz
scummvm-rg350-a769bace7fafadd983a243fc86c5c2aff29c2c27.tar.bz2
scummvm-rg350-a769bace7fafadd983a243fc86c5c2aff29c2c27.zip
AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy Assignment
Diffstat (limited to 'audio')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_audio.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}