No more memcpy needed when using arm compiler 6.3.1

This commit is contained in:
Bertrand Songis
2020-02-12 15:53:47 +01:00
parent 117b99991b
commit aca4f4f160
3 changed files with 1 additions and 45 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ class BitmapBuffer: public BitmapBufferBase<uint16_t>
, leakReported(false)
#endif
{
data = (uint16_t *)malloc(width*height*sizeof(uint16_t));
data = (uint16_t *)malloc(width * height * sizeof(uint16_t));
data_end = data + (width * height);
}