From 471c50351b88d824744f0c44db0cf03281e4e919 Mon Sep 17 00:00:00 2001 From: Alexandru Csete OZ9AEC Date: Sat, 7 Oct 2006 16:55:04 +0000 Subject: [PATCH] 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 --- alinco/alinco.c | 6 +++--- alinco/dx77.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/alinco/alinco.c b/alinco/alinco.c index 4415d10f1..833cd5dd2 100644 --- a/alinco/alinco.c +++ b/alinco/alinco.c @@ -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); } /* diff --git a/alinco/dx77.c b/alinco/dx77.c index 8b0d8da8a..bfca07b51 100644 --- a/alinco/dx77.c +++ b/alinco/dx77.c @@ -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,