[Scummvm-git-logs] scummvm master -> a769bace7fafadd983a243fc86c5c2aff29c2c27

digitall dgturner at iee.org
Sat Aug 3 17:12:14 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a769bace7f AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy Assignment


Commit: a769bace7fafadd983a243fc86c5c2aff29c2c27
    https://github.com/scummvm/scummvm/commit/a769bace7fafadd983a243fc86c5c2aff29c2c27
Author: D G Turner (digitall at scummvm.org)
Date: 2019-08-03T16:09:17+01:00

Commit Message:
AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy Assignment

Changed paths:
    audio/softsynth/fmtowns_pc98/towns_audio.cpp


diff --git a/audio/softsynth/fmtowns_pc98/towns_audio.cpp b/audio/softsynth/fmtowns_pc98/towns_audio.cpp
index 937b9bd..1a12fa9 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;
 				}
 			}





More information about the Scummvm-git-logs mailing list