mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 12:51:49 -05:00
Fixed critical compiler warnings in Windows
This commit is contained in:
parent
b5ed2b2e9a
commit
2ae702763b
@ -75,7 +75,7 @@ SDRdaemonGui::SDRdaemonGui(DeviceSourceAPI *deviceAPI, QWidget* parent) :
|
||||
m_sender = nn_socket(AF_SP, NN_PAIR);
|
||||
assert(m_sender != -1);
|
||||
int millis = 500;
|
||||
nn_setsockopt (m_sender, NN_SOL_SOCKET, NN_SNDTIMEO, &millis, sizeof (millis));
|
||||
int rc __attribute__((unused)) = nn_setsockopt (m_sender, NN_SOL_SOCKET, NN_SNDTIMEO, &millis, sizeof (millis));
|
||||
assert (rc == 0);
|
||||
|
||||
m_startingTimeStamp.tv_sec = 0;
|
||||
|
@ -70,7 +70,7 @@ SDRdaemonFECGui::SDRdaemonFECGui(DeviceSourceAPI *deviceAPI, QWidget* parent) :
|
||||
m_sender = nn_socket(AF_SP, NN_PAIR);
|
||||
assert(m_sender != -1);
|
||||
int millis = 500;
|
||||
nn_setsockopt (m_sender, NN_SOL_SOCKET, NN_SNDTIMEO, &millis, sizeof (millis));
|
||||
int rc __attribute__((unused)) = nn_setsockopt (m_sender, NN_SOL_SOCKET, NN_SNDTIMEO, &millis, sizeof (millis));
|
||||
assert (rc == 0);
|
||||
|
||||
m_paletteGreenText.setColor(QPalette::WindowText, Qt::green);
|
||||
|
@ -17,6 +17,7 @@
|
||||
#ifndef SDRBASE_DEVICE_DEVICESOURCEAPI_H_
|
||||
#define SDRBASE_DEVICE_DEVICESOURCEAPI_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdint.h>
|
||||
#include <QChar>
|
||||
#include <QDebug>
|
||||
#include "cwkeyer.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef INCLUDE_PLUGINMANAGER_H
|
||||
#define INCLUDE_PLUGINMANAGER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <QObject>
|
||||
#include <QDir>
|
||||
#include "plugin/plugininterface.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
#ifndef INCLUDE_UTIL_UDPSINK_H_
|
||||
#define INCLUDE_UTIL_UDPSINK_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <QObject>
|
||||
#include <QUdpSocket>
|
||||
#include <QHostAddress>
|
||||
|
Loading…
Reference in New Issue
Block a user