mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 04:50:43 +02:00
Fix TOML parsing with large unsigned integers
The parser parses everything as signed integers so the configuration file will fail to parse large numbers that don't fit in an i64. https://github.com/alexcrichton/toml-rs/issues/256
This commit is contained in:
@@ -183,7 +183,7 @@ pub fn verify_wine_setup(config: &mut Config) -> Result<()> {
|
||||
yabridge_host_exe_so_path.display()
|
||||
)
|
||||
})?);
|
||||
let yabridge_host_hash = hasher.finish();
|
||||
let yabridge_host_hash = hasher.finish() as i64;
|
||||
|
||||
// Since these checks can take over a second if wineserver isn't already running we'll only
|
||||
// perform them when something has changed
|
||||
|
||||
Reference in New Issue
Block a user