diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-05-09 00:31:03 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-10 02:16:00 +0200 |
commit | 4ba239ddbe936322bd7f9a8b17715ebaeb1cb800 (patch) | |
tree | 54d13689e60310babf35b5d9117278eade2ed758 /libdiskfs/sync-interval.c | |
parent | edc6fe07c5a7f9ade000b3bfc17c030fe2086e21 (diff) | |
download | hurd-4ba239ddbe936322bd7f9a8b17715ebaeb1cb800.tar.gz hurd-4ba239ddbe936322bd7f9a8b17715ebaeb1cb800.tar.bz2 hurd-4ba239ddbe936322bd7f9a8b17715ebaeb1cb800.zip |
libdiskfs: Port to x86_64
Message-Id: <20230508213136.608575-9-bugaevc@gmail.com>
Diffstat (limited to 'libdiskfs/sync-interval.c')
-rw-r--r-- | libdiskfs/sync-interval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/sync-interval.c b/libdiskfs/sync-interval.c index 14405f29..3a09e868 100644 --- a/libdiskfs/sync-interval.c +++ b/libdiskfs/sync-interval.c @@ -91,9 +91,9 @@ diskfs_set_sync_interval (int interval) INTERVAL seconds, as long as it's in the thread pointed to by the global variable PERIODIC_SYNC_THREAD. */ static void * -periodic_sync (void * arg) +periodic_sync (void *arg) { - int interval = (int) arg; + int interval = (int)(uintptr_t) arg; for (;;) { error_t err; |