Suppress compiler warning.

This commit is contained in:
Syoyo Fujita
2016-04-19 12:50:41 +09:00
parent 00ed158a8e
commit f4695de408

View File

@@ -493,7 +493,7 @@ static vertex_index parseTriple(const char **token, int vsize, int vnsize,
// Parse raw triples: i, i/j/k, i//k, i/j
static vertex_index parseRawTriple(const char **token) {
vertex_index vi(0x80000000); // 0x80000000 = -2147483648 = invalid
vertex_index vi(-2147483648); // 0x80000000 = -2147483648 = invalid
vi.v_idx = atoi((*token));
(*token) += strcspn((*token), "/ \t\r");