diff options
Diffstat (limited to 'src/file/format/yaml.rs')
-rw-r--r-- | src/file/format/yaml.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/format/yaml.rs b/src/file/format/yaml.rs index c458c3c..c7c9be4 100644 --- a/src/file/format/yaml.rs +++ b/src/file/format/yaml.rs @@ -36,7 +36,7 @@ fn from_yaml_value(uri: Option<&String>, value: &yaml::Yaml) -> Value { // TODO: Figure out in what cases this can panic? Value::new(uri, ValueKind::Float(value.parse::<f64>().unwrap())) } - yaml::Yaml::Integer(value) => Value::new(uri, ValueKind::Integer(value)), + yaml::Yaml::Integer(value) => Value::new(uri, ValueKind::I64(value)), yaml::Yaml::Boolean(value) => Value::new(uri, ValueKind::Boolean(value)), yaml::Yaml::Hash(ref table) => { let mut m = HashMap::new(); |