diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-31 16:09:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-31 16:09:17 +0000 |
commit | 083b9060f593a8b77df73071486860a407f19143 (patch) | |
tree | 531ae3d410772a3f472569f49ebd7059a1b8525b /net_ntrip.c | |
parent | 06657c8807345353694c1a561ee0a807c46a5b22 (diff) | |
download | gpsd-083b9060f593a8b77df73071486860a407f19143.tar.gz |
Get rid of u_char, and some splint cleanup.
Diffstat (limited to 'net_ntrip.c')
-rw-r--r-- | net_ntrip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net_ntrip.c b/net_ntrip.c index 2ccd2537..3bbd2dc9 100644 --- a/net_ntrip.c +++ b/net_ntrip.c @@ -316,7 +316,7 @@ static int ntrip_auth_encode(const struct ntrip_stream_t *stream, if (!auth) return -1; memset(authenc, 0, sizeof(authenc)); - if (b64_ntop((u_char *) auth, strlen(auth), authenc, sizeof(authenc) - 1) < 0) + if (b64_ntop((unsigned char *) auth, strlen(auth), authenc, sizeof(authenc) - 1) < 0) return -1; (void)snprintf(buf, size - 1, "Authorization: Basic %s\r\n", authenc); } else { |