Fix task ID hash computation. (#774)

This commit is contained in:
Robert Nishihara
2017-07-26 10:08:38 -07:00
committed by Philipp Moritz
parent 0f0acb8ac1
commit 8ad9ced99b
+1 -1
View File
@@ -68,7 +68,7 @@ class TaskBuilder {
auto arg = fbb.CreateString((const char *) value, length);
auto empty_id = fbb.CreateString("", 0);
args.push_back(CreateArg(fbb, empty_id, arg));
sha256_update(&ctx, (BYTE *) &value, length);
sha256_update(&ctx, (BYTE *) value, length);
}
void SetRequiredResource(int64_t resource_index, double value) {