mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
9d438fe6d8
instead of using local one in hourglass.h. - Other minor amd64 compilation fixes.
21 lines
395 B
C
21 lines
395 B
C
--- src/work.c.orig Tue Jan 23 04:28:43 2007
|
|
+++ src/work.c Tue Jan 23 05:09:28 2007
|
|
@@ -176,7 +176,7 @@
|
|
|
|
void *monitor_thrd_func (void *arg)
|
|
{
|
|
- int id = (int)arg;
|
|
+ int id = (int)(intptr_t)arg;
|
|
|
|
assert (thrd_data[id].s_time != -1);
|
|
|
|
@@ -202,7 +202,7 @@
|
|
|
|
void *thrd_func (void *arg)
|
|
{
|
|
- int id = (int)arg;
|
|
+ int id = (int)(intptr_t )arg;
|
|
|
|
set_priority (thrd_data[id].pri);
|
|
|