diff options
author | Bill Nottingham <notting@redhat.com> | 2007-09-26 15:24:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-09-26 15:24:29 +0000 |
commit | 6eeadb8980bf7fc0a43582cabad965cceee2049d (patch) | |
tree | 5017ee68a2cb58027bf26dde8402c421a7ae4484 /src | |
parent | c2441712081015c57aabeca637eb230055a67ba3 (diff) | |
download | initscripts-6eeadb8980bf7fc0a43582cabad965cceee2049d.tar initscripts-6eeadb8980bf7fc0a43582cabad965cceee2049d.tar.gz initscripts-6eeadb8980bf7fc0a43582cabad965cceee2049d.tar.bz2 initscripts-6eeadb8980bf7fc0a43582cabad965cceee2049d.tar.xz initscripts-6eeadb8980bf7fc0a43582cabad965cceee2049d.zip |
fix it for 64-bit systems (#306811)
Diffstat (limited to 'src')
-rw-r--r-- | src/genhostid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genhostid.c b/src/genhostid.c index 5afb764d..da9e0db6 100644 --- a/src/genhostid.c +++ b/src/genhostid.c @@ -34,5 +34,5 @@ main (void) srand48 ((long int) time (NULL) ^ (long int) getpid ()); n = lrand48 (); } - return sethostid (n); + return sethostid ((int32_t)n); } |