diff options
Diffstat (limited to 'rts/Task.h')
-rw-r--r-- | rts/Task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Task.h b/rts/Task.h index 0926950610..e5b729527d 100644 --- a/rts/Task.h +++ b/rts/Task.h @@ -312,7 +312,7 @@ serialisableTaskId (Task *task #if defined(THREADED_RTS) return serialiseTaskId(task->id); #else - return 1; + return (TaskId) (size_t) task; #endif } |