aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.cpp
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-11-15 16:32:54 -0500
committerThomas Tsou <tom@tsou.cc>2013-11-15 23:35:07 -0500
commit3f32ab5afa57221f08cfb865e64bb9543f573f20 (patch)
treedb2488564bdc66723e3f3a217b16529832c36443 /Transceiver52M/Transceiver.cpp
parent8c33679fa58de67b4b2557d5f4a694d1451c514f (diff)
Transceiver52M: Enable all warnings and resolve
Mainly basic signed vs unsigned comparisons and intializer ordering. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.cpp')
-rw-r--r--Transceiver52M/Transceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index e5f62bb..7aec64c 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -654,7 +654,7 @@ void Transceiver::driveControl(size_t chan)
}
else if (!strcmp(command,"SETTSC")) {
// set TSC
- int TSC;
+ unsigned TSC;
sscanf(buffer, "%3s %s %d", cmdcheck, command, &TSC);
if (mOn)
sprintf(response, "RSP SETTSC 1 %d", TSC);