summaryrefslogtreecommitdiffstats
path: root/libntp/mstolfp.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2016-01-08 08:06:14 +0000
committerdelphij <delphij@FreeBSD.org>2016-01-08 08:06:14 +0000
commit8518518f8f222e4d58e27928a988f034b82bbb77 (patch)
treeeacecf05ade498902c426d07b76ce3d5e1306ffe /libntp/mstolfp.c
parentd6817aff5f9c408aa26476fd4023ecc89de34f56 (diff)
downloadFreeBSD-src-8518518f8f222e4d58e27928a988f034b82bbb77.zip
FreeBSD-src-8518518f8f222e4d58e27928a988f034b82bbb77.tar.gz
Vendor import of ntp-4.2.8p5.
Diffstat (limited to 'libntp/mstolfp.c')
-rw-r--r--libntp/mstolfp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libntp/mstolfp.c b/libntp/mstolfp.c
index 828b14c..7da20dc 100644
--- a/libntp/mstolfp.c
+++ b/libntp/mstolfp.c
@@ -70,8 +70,7 @@ mstolfp(
*/
*bp++ = '.';
if ((cpdec - cp) < 3) {
- register int i = 3 - (cpdec - cp);
-
+ size_t i = 3 - (cpdec - cp);
do {
*bp++ = '0';
} while (--i > 0);
OpenPOWER on IntegriCloud