Browse Source

Bugfix: Need signed types for ntime min/max offsets

Conflicts:
	miner.h
Luke Dashjr 11 years ago
parent
commit
3fa59653e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miner.h

+ 2 - 2
miner.h

@@ -1198,8 +1198,8 @@ struct bfg_tmpl_ref {
 struct ntime_roll_limits {
 struct ntime_roll_limits {
 	uint32_t min;
 	uint32_t min;
 	uint32_t max;
 	uint32_t max;
-	uint16_t minoff;
-	uint16_t maxoff;
+	int16_t minoff;
+	int16_t maxoff;
 };
 };
 
 
 struct stratum_work {
 struct stratum_work {