diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 06:32:37 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 06:32:37 -0400 |
commit | 6b2e8ab641522c61fa520ca47b3008dc65a8aabb (patch) | |
tree | c3c5c40a50cc39c0744cde2a8c84a0cf0190ad58 /ntpshmread.c | |
parent | 5e24bd130a5456d2f5b3b1c6bb2d7222b9613180 (diff) | |
download | gpsd-6b2e8ab641522c61fa520ca47b3008dc65a8aabb.tar.gz |
splint cleanup. Fixes for minor but real issues...
...no attempt to address the weird cross-platfprm variability we've seen lately.
All regression tests pass.
Diffstat (limited to 'ntpshmread.c')
-rw-r--r-- | ntpshmread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpshmread.c b/ntpshmread.c index 3abe984e..c8ebec00 100644 --- a/ntpshmread.c +++ b/ntpshmread.c @@ -52,7 +52,7 @@ char *ntp_name(const int unit) { static char name[5] = "NTP\0"; - name[3] = '0' + (char)unit; + name[3] = (char)('0' + unit); return name; } |