Fix compilation warning on mingw

https://github.com/Hamlib/Hamlib/issues/813
pull/978/head
Mike Black W9MDB 2022-02-24 17:36:38 -06:00
rodzic b7503986ea
commit 7be2aac2c1
2 zmienionych plików z 3 dodań i 2 usunięć

3
NEWS
Wyświetl plik

@ -7,7 +7,7 @@ Copyright (C) 2000-2021 Michael Black W9MDB, and others
Please send Hamlib bug reports to hamlib-developer@lists.sourceforge.net
Version 5.x
Version 5.x -- future
* rig_get_conf deprecated and replaced by rig_get_conf2
* rot_get_conf deprecated and replaced by rot_get_conf2
* Asynchronous rig data output handling to support transceive and spectrum data. Mikael, OH3BHX
@ -28,6 +28,7 @@ Version 4.5
* Added Xiegu X108G, G90, and X6100
* Added CODAN Envoy and NGS
* Added Lab599 TX-500
* Added GOMSPACE GS100
* Deprecated: rigctl commands \set_trn (A) and \get_trn (a) as they never worked as intended
* Deprecated: field rig_caps.transceive and RIG_TRN_* macros

Wyświetl plik

@ -2041,7 +2041,7 @@ struct rig_caps {
// this will be used to check rigcaps structure is compatible with client
char *hamlib_check_rig_caps; // a constant value we can check for hamlib integrity
int (*get_conf2)(RIG *rig, token_t token, char *val, int val_len);
int (*password)(RIG *rig, unsigned char *key1, unsigned char *key2); /*< Send encrypted password if rigctld is secured with -A/--password */
int (*password)(RIG *rig, const unsigned char *key1, const unsigned char *key2); /*< Send encrypted password if rigctld is secured with -A/--password */
};
//! @endcond