[node] Narrow conversion (double → float) caught by GCC

This commit is contained in:
Bruno de Oliveira Abinader
2016-06-14 17:53:04 +03:00
parent 24b66bc8cd
commit e83b12c387

View File

@@ -28,7 +28,7 @@ struct ValueConverter<float> {
return {};
}
return { value->NumberValue() };
return { float(value->NumberValue()) };
}
};