summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/file.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-01-09 18:17:14 +0000
committerflorian <florian@openbsd.org>2020-01-09 18:17:14 +0000
commitefcc66dac05750a3e8f785336e18c8db46f7c4de (patch)
treeee735efb62359255257c388aec982c7b35c2a91c /usr.sbin/bind/lib/isc/unix/file.c
parentWe use __dead for functions that do not return. (diff)
downloadwireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.tar.xz
wireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.zip
Use normal int types like int32_t instead of isc_int32_t.
OK millert
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/file.c')
-rw-r--r--usr.sbin/bind/lib/isc/unix/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/file.c b/usr.sbin/bind/lib/isc/unix/file.c
index 1f7888621b5..12c90b22fa0 100644
--- a/usr.sbin/bind/lib/isc/unix/file.c
+++ b/usr.sbin/bind/lib/isc/unix/file.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*/
-/* $Id: file.c,v 1.9 2020/01/09 14:24:08 florian Exp $ */
+/* $Id: file.c,v 1.10 2020/01/09 18:17:19 florian Exp $ */
/*! \file */
@@ -201,7 +201,7 @@ isc_file_settime(const char *file, isc_time_t *when) {
* we can at least cast to signed so the IRIX compiler shuts up.
*/
times[0].tv_usec = times[1].tv_usec =
- (isc_int32_t)(isc_time_nanoseconds(when) / 1000);
+ (int32_t)(isc_time_nanoseconds(when) / 1000);
if (utimes(file, times) < 0)
return (isc__errno2result(errno));