mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
GCC new warnings fixed (GCC) 8.1.1 20180531
This commit is contained in:
parent
a77f00d665
commit
131078e3a0
15 changed files with 62 additions and 42 deletions
|
@ -82,7 +82,7 @@ Open9xSim::Open9xSim(FXApp* a):
|
|||
FXMainWindow(a, "OpenTX Simu", NULL, NULL, DECOR_ALL, 20, 90, 0, 0)
|
||||
{
|
||||
firstTime = true;
|
||||
memset(displayBuf, 0, DISPLAY_BUFFER_SIZE);
|
||||
memset(displayBuf, 0, DISPLAY_BUFFER_SIZE * sizeof(display_t));
|
||||
bmp = new FXPPMImage(getApp(),NULL,IMAGE_OWNED|IMAGE_KEEP|IMAGE_SHMI|IMAGE_SHMP, W2, H2);
|
||||
|
||||
#if defined(SIMU_AUDIO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue