Browse Source

Bugfix: Need signed types for ntime min/max offsets

Luke Dashjr 11 years ago
parent
commit
f07586d56e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miner.h

+ 2 - 2
miner.h

@@ -1142,8 +1142,8 @@ struct ntime_roll_limits {
 	uint32_t min;
 	uint32_t max;
 	struct timeval tv_ref;
-	uint16_t minoff;
-	uint16_t maxoff;
+	int16_t minoff;
+	int16_t maxoff;
 };
 
 struct stratum_work {