aboutsummaryrefslogtreecommitdiff
path: root/tests/libntp/vi64ops.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-05-10 15:15:56 +0000
committerCy Schubert <cy@FreeBSD.org>2024-05-26 22:55:52 +0000
commit1f833b3fc9968c3dd7ed79ccf0525ebf16c891ad (patch)
tree85801af20e3b694584668aeb39ecec75ee71f72c /tests/libntp/vi64ops.c
parentab1f1aa8333369a83ff284848fc3fc2e52d5f29f (diff)
downloadsrc-1f833b3fc9968c3dd7ed79ccf0525ebf16c891ad.tar.gz
src-1f833b3fc9968c3dd7ed79ccf0525ebf16c891ad.zip
ntp: Vendor import of ntp-4.2.8p18vendor/ntp/4.2.8p18vendor/ntp
Diffstat (limited to 'tests/libntp/vi64ops.c')
-rw-r--r--tests/libntp/vi64ops.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/libntp/vi64ops.c b/tests/libntp/vi64ops.c
index 0891299e52fd..10e04629d6cb 100644
--- a/tests/libntp/vi64ops.c
+++ b/tests/libntp/vi64ops.c
@@ -38,8 +38,8 @@ IsEqual(const vint64 expected, const vint64 actual) {
void
test_ParseVUI64_pos(void) {
vint64 act, exp;
- const char *sp;
- char const *ep;
+ char *sp;
+ char *ep;
sp = "1234x";
exp.D_s.hi = 0;
@@ -54,8 +54,8 @@ test_ParseVUI64_pos(void) {
void
test_ParseVUI64_neg(void) {
vint64 act, exp;
- const char *sp;
- char const *ep;
+ char *sp;
+ char *ep;
sp = "-1234x";
exp.D_s.hi = ~0;
@@ -68,8 +68,8 @@ test_ParseVUI64_neg(void) {
void
test_ParseVUI64_case(void) {
vint64 act, exp;
- const char *sp;
- char const *ep;
+ char *sp;
+ char *ep;
sp = "0123456789AbCdEf";
exp.D_s.hi = 0x01234567;