summaryrefslogtreecommitdiffstats
path: root/sysutils/hourglass/files/patch-work.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hourglass/files/patch-work.c')
-rw-r--r--sysutils/hourglass/files/patch-work.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/hourglass/files/patch-work.c b/sysutils/hourglass/files/patch-work.c
new file mode 100644
index 0000000..3eebe29
--- /dev/null
+++ b/sysutils/hourglass/files/patch-work.c
@@ -0,0 +1,20 @@
+--- 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);
+
OpenPOWER on IntegriCloud