mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 08:23:39 +02:00
memcpy -> memmove
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1278 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 85f5e1110d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-03-09 (Wed, 09 Mar 2011)
This commit is contained in:
@@ -263,7 +263,7 @@ public:
|
||||
buffer = new char[bufLength];
|
||||
if (buffer) {
|
||||
bufferLength = bufLength;
|
||||
memcpy(buffer, buf, bufLength);
|
||||
memmove(buffer, buf, bufLength);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -285,7 +285,7 @@ public:
|
||||
bufferLength = 0;
|
||||
buffer = new char[sizeof(struct SI_section_header)];
|
||||
if (buffer) {
|
||||
memcpy(buffer, header, sizeof(struct SI_section_header));
|
||||
memmove(buffer, header, sizeof(struct SI_section_header));
|
||||
bufferLength = sizeof(struct SI_section_header);
|
||||
}
|
||||
}
|
||||
@@ -297,7 +297,7 @@ public:
|
||||
buffer = new char[s.bufferLength];
|
||||
if (buffer) {
|
||||
bufferLength = s.bufferLength;
|
||||
memcpy(buffer, s.buffer, bufferLength);
|
||||
memmove(buffer, s.buffer, bufferLength);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user