Browse Source

Merge branch 'icarus_ms' into bfgminer

Luke Dashjr 11 years ago
parent
commit
4da8106d37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lowl-vcom.c

+ 1 - 1
lowl-vcom.c

@@ -1068,7 +1068,7 @@ bool vcom_set_timeout_ms(const int fdDev, const unsigned timeout_ms)
 	struct termios my_termios;
 	struct termios my_termios;
 	
 	
 	tcgetattr(fdDev, &my_termios);
 	tcgetattr(fdDev, &my_termios);
-	my_termios.c_cc[VTIME] = (cc_t)(timeout_ms + 99) / 100;
+	my_termios.c_cc[VTIME] = (cc_t)((timeout_ms + 99) / 100);
 	return (tcsetattr(fdDev, TCSANOW, &my_termios) == 0);
 	return (tcsetattr(fdDev, TCSANOW, &my_termios) == 0);
 #endif
 #endif
 }
 }