diff --git a/Cargo.lock b/Cargo.lock index 817994b..bdbf7da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1894,7 +1894,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tswn" -version = "0.3.0" +version = "0.3.1" dependencies = [ "base16384", "chrono", @@ -1903,7 +1903,7 @@ dependencies = [ "crossbeam", "tracing", "tracing-subscriber", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/miner/Cargo.toml b/miner/Cargo.toml index e8c28da..fa14344 100644 --- a/miner/Cargo.toml +++ b/miner/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tswn" description = "tool shenjack work shop namerena" -version = "0.3.0" +version = "0.3.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/miner/src/name.rs b/miner/src/name.rs index 61d1c36..133e54c 100644 --- a/miner/src/name.rs +++ b/miner/src/name.rs @@ -535,7 +535,7 @@ impl Namer { if p > 10 && *self.skl_id.get_unchecked(j) < 35 { *self.skl_freq.get_unchecked_mut(j) = p - 10; if *self.skl_id.get_unchecked(j) < 25 { - last = j as i32; + last = j as i8; } } else { *self.skl_freq.get_unchecked_mut(j) = 0;