Cast unsigned char to char in order to avoid compiler warnings. Incremented backend version number.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2122 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.6rc1
Alexandru Csete OZ9AEC 2006-10-07 16:55:04 +00:00
rodzic b700d776f2
commit 471c50351b
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Alinco backend - main file
* Copyright (c) 2001-2005 by Stephane Fillod
*
* $Id: alinco.c,v 1.27 2005-04-10 21:47:12 fillods Exp $
* $Id: alinco.c,v 1.28 2006-10-07 16:55:04 csete Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -800,9 +800,9 @@ int alinco_set_ctcss_tone(RIG *rig, vfo_t vfo, tone_t tone)
if (caps->ctcss_list[i] != tone)
return -RIG_EINVAL;
tone_len = sprintf(tonebuf, AL CMD_CTCSS "%02d" EOM, i+1);
tone_len = sprintf((char *) tonebuf, AL CMD_CTCSS "%02d" EOM, i+1);
return alinco_transaction (rig, tonebuf, tone_len, NULL, NULL);
return alinco_transaction (rig, (char *) tonebuf, tone_len, NULL, NULL);
}
/*

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Alinco backend - DX77 description
* Copyright (c) 2001-2005 by Stephane Fillod
*
* $Id: dx77.c,v 1.15 2005-04-10 21:57:13 fillods Exp $
* $Id: dx77.c,v 1.16 2006-10-07 16:55:04 csete Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -79,7 +79,7 @@ const struct rig_caps dx77_caps = {
.rig_model = RIG_MODEL_DX77,
.model_name = "DX-77",
.mfg_name = "Alinco",
.version = "0.6",
.version = "0.7",
.copyright = "LGPL",
.status = RIG_STATUS_BETA,
.rig_type = RIG_TYPE_TRANSCEIVER,