Skip to content

Commit

Permalink
fix: aarch64 linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed May 16, 2023
1 parent 781f4f4 commit e81a22b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

- [Changelog](#changelog)
- [0.2.3](#023)
- [0.2.2](#022)
- [0.2.1](#021)
- [0.2.0](#020)
Expand All @@ -10,6 +11,12 @@

---

## 0.2.3

Released on 16/05/2023

- Fixed aarch64 linux build

## 0.2.2

Released on 16/05/2023
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pavao"
version = "0.2.2"
version = "0.2.3"
authors = ["Christian Visintin <[email protected]>"]
edition = "2021"
categories = ["network-programming"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a href="https://docs.rs/pavao" target="_blank">Documentation</a>
</p>
<p align="center">Developed by <a href="https://veeso.github.io/" target="_blank">@veeso</a></p>
<p align="center">Current version: 0.2.2 (16/05/2023)</p>
<p align="center">Current version: 0.2.3 (16/05/2023)</p>

<p align="center">
<a href="https://www.gnu.org/licenses/gpl-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/smb/types/stat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl From<stat> for SmbStat {
#[cfg(linux_x86_64)]
dev: s.st_dev as i32,
#[cfg(linux_aarch64)]
dev: s.st_dev,
dev: s.st_dev as i32,
gid: s.st_gid,
mode: SmbMode::from(s.st_mode),
modified: time_t_to_system_time(s.st_mtime),
Expand Down

0 comments on commit e81a22b

Please sign in to comment.