diff options
| author | Bill Nottingham <notting@redhat.com> | 2008-01-10 19:26:20 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2008-01-10 19:26:20 +0000 |
| commit | 8a5a8df51e533ac5e3155fb55f35beb61db92ccb (patch) | |
| tree | 38265a324ffa62d059d12691ca48d6eadb1bdeb2 /src/genhostid.c | |
| parent | 77f4e608b7439c405d640783704cecd288b01d01 (diff) | |
fix genhostid on x86_64 (#306811)
Diffstat (limited to 'src/genhostid.c')
| -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 a56cad83..c3a169db 100644 --- a/src/genhostid.c +++ b/src/genhostid.c @@ -28,5 +28,5 @@ main (void) srand48 ((long int) time (NULL) ^ (long int) getpid ()); n = lrand48 (); } - return sethostid (n); + return sethostid ((int32_t)n); } |
