kopia lustrzana https://github.com/Guenael/rtlsdr-wsprd
chore(gcc): remove some warning from the compiler
rodzic
f1d1556d36
commit
c29724aee2
|
@ -46,6 +46,10 @@
|
|||
#include "wsprd/wsprd.h"
|
||||
|
||||
|
||||
/* snprintf possible truncation allowed to prevent possible buffer overflow */
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
|
||||
|
||||
/* Sampling definition for RTL devices */
|
||||
#define SIGNAL_LENGHT 116
|
||||
#define SIGNAL_SAMPLE_RATE 375
|
||||
|
|
|
@ -35,6 +35,10 @@
|
|||
#include "./nhash.h"
|
||||
#include "./wsprd_utils.h"
|
||||
|
||||
// FIXME -- Replace strcpy & strncpy by strcpy to prevent possible buffer overflow
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
||||
|
||||
|
||||
void unpack50(signed char *dat, int32_t *n1, int32_t *n2) {
|
||||
int32_t i, i4;
|
||||
|
|
Ładowanie…
Reference in New Issue