aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/mt32/tables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/softsynth/mt32/tables.cpp')
-rw-r--r--sound/softsynth/mt32/tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32/tables.cpp b/sound/softsynth/mt32/tables.cpp
index 571750ee99..b0414154dc 100644
--- a/sound/softsynth/mt32/tables.cpp
+++ b/sound/softsynth/mt32/tables.cpp
@@ -614,7 +614,7 @@ bool Tables::initNotes(Synth *synth, PCMWaveEntry *pcmWaves, float rate, float m
File *file = NULL;
char header[20];
- strncpy(header, "MT32WAVE", 8);
+ memcpy(header, "MT32WAVE", 8);
int pos = 8;
// Version...
for (int i = 0; i < 4; i++)