summaryrefslogtreecommitdiffstats
path: root/usr.sbin/timed/timedc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-28 06:38:34 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-28 06:38:34 +0000
commit09e6808333765b5a38bd8d49db6c7dd00ac80469 (patch)
treeef9375411f3767b6bdd2caabc7fffa46051fe44f /usr.sbin/timed/timedc
parent4ca7a63bff2cf31e8b353390255cdc4dce9cc602 (diff)
downloadFreeBSD-src-09e6808333765b5a38bd8d49db6c7dd00ac80469.zip
FreeBSD-src-09e6808333765b5a38bd8d49db6c7dd00ac80469.tar.gz
Why cast a constant to (unsigned long) when you can make it this by
appending UL.
Diffstat (limited to 'usr.sbin/timed/timedc')
-rw-r--r--usr.sbin/timed/timedc/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/timed/timedc/cmds.c b/usr.sbin/timed/timedc/cmds.c
index 557f721..9e0aa21 100644
--- a/usr.sbin/timed/timedc/cmds.c
+++ b/usr.sbin/timed/timedc/cmds.c
@@ -77,7 +77,7 @@ void bytenetorder(struct tsp *);
void bytehostorder(struct tsp *);
-#define BU ((unsigned long)2208988800) /* seconds before UNIX epoch */
+#define BU (2208988800UL) /* seconds before UNIX epoch */
/* compute the difference between our date and another machine
OpenPOWER on IntegriCloud