cast vc to an int.

This commit is contained in:
Christopher Jeffrey 2015-02-01 07:41:26 -08:00
parent b6853fbd88
commit 8efba79453
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function GpmClient(options) {
var vc;
if (tty) {
var tty = tty[0];
vc = /[0-9]+$/.exec(tty)[0];
vc = +/[0-9]+$/.exec(tty)[0];
}
var self = this;