aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/internal/task/task.go
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2021-05-28 07:38:59 +0200
committerdeadprogram <[email protected]>2021-05-28 07:38:59 +0200
commited2db8a26d8b5f3fdb9bf6365002bc6eeb19c758 (patch)
treed284f7e0fd28133a17388b53f558c1c2af5291ec /src/internal/task/task.go
parentfd8938c6346010979992986b2a1b512449e5c866 (diff)
downloadtinygo-ed2db8a26d8b5f3fdb9bf6365002bc6eeb19c758.tar.gz
tinygo-ed2db8a26d8b5f3fdb9bf6365002bc6eeb19c758.zip
Revert "scheduler: task.Data made 64bit to avoid overflow"
This reverts commit fd8938c6346010979992986b2a1b512449e5c866.
Diffstat (limited to 'src/internal/task/task.go')
-rw-r--r--src/internal/task/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/task/task.go b/src/internal/task/task.go
index bad501b61..489400dfc 100644
--- a/src/internal/task/task.go
+++ b/src/internal/task/task.go
@@ -13,7 +13,7 @@ type Task struct {
Ptr unsafe.Pointer
// Data is a field which can be used for storing state information.
- Data uint64
+ Data uint
// state is the underlying running state of the task.
state state