1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Avoided some pedantic compiler warnings in the audio plugin code.

This commit is contained in:
jules 2013-10-01 11:53:17 +01:00
parent a97921a561
commit bb98c00d0d
8 changed files with 23 additions and 16 deletions

View file

@ -564,7 +564,7 @@ void EdgeTable::intersectWithEdgeTableLine (const int y, const int* const otherL
if (isUsingTempSpace)
{
const size_t tempSize = (size_t) (srcNum1 * 2 * sizeof (int));
const size_t tempSize = (size_t) srcNum1 * 2 * sizeof (int);
int* const oldTemp = static_cast<int*> (alloca (tempSize));
memcpy (oldTemp, src1, tempSize);
@ -589,7 +589,7 @@ void EdgeTable::intersectWithEdgeTableLine (const int y, const int* const otherL
{
isUsingTempSpace = true;
int* const temp = table + lineStrideElements * bounds.getHeight();
memcpy (temp, src1, (size_t) (srcNum1 * 2 * sizeof (int)));
memcpy (temp, src1, (size_t) srcNum1 * 2 * sizeof (int));
src1 = temp;
}