summaryrefslogtreecommitdiff
path: root/TachometerP.h
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2018-03-07 17:00:34 -0800
committerFred Wright <fw@fwright.net>2018-03-07 17:29:26 -0800
commit75d16ca647b14ba9c60565e70920460ecd72d6c1 (patch)
treeea92a4ae90b16388751c6ae61031082826216f1f /TachometerP.h
parent89251b800ff837233fca9318854380c2cf7a2138 (diff)
downloadgpsd-75d16ca647b14ba9c60565e70920460ecd72d6c1.tar.gz
cgps: fixes compiler warning.
The fix to avoid writing into a read-only buffer copies a const char pointer to a non-const char pointer, provoking a warning. For some reason, the old code failed to get a similar warning from the cast, which would have caught the original bug. This fix just adds a const char variable to accept the pointer. TESTED: Now cgps builds without warning, and still works.
Diffstat (limited to 'TachometerP.h')
0 files changed, 0 insertions, 0 deletions