diff --git a/bind/bind.go b/bind/bind.go
index 5f70604..757bf67 100644
--- a/bind/bind.go
+++ b/bind/bind.go
@@ -145,7 +145,7 @@ type Gauge struct {
type Task struct {
ID string `xml:"id"`
Name string `xml:"name"`
- Quantum uint64 `xml:"quantum"`
+ Quantum int64 `xml:"quantum"`
References uint64 `xml:"references"`
State string `xml:"state"`
}
diff --git a/fixtures/v2.xml b/fixtures/v2.xml
index b58a84d..5736b1a 100644
--- a/fixtures/v2.xml
+++ b/fixtures/v2.xml
@@ -1616,7 +1616,7 @@
2
0x7f989b7cd0c0
idle
- 1
+ -1
diff --git a/fixtures/v3/tasks b/fixtures/v3/tasks
index d6ef04b..ef9e702 100644
--- a/fixtures/v3/tasks
+++ b/fixtures/v3/tasks
@@ -30,7 +30,7 @@
5
0x7febdb4790d0
idle
- 1
+ -1
0