Commit 1e1949b
committed
fix: Handle c_ulong type differences between Windows and Unix in FFI
- c_ulong is u32 on Windows but u64 on Unix platforms
- Use u64::from() to convert c_ulong values to u64 safely on both platforms
- Add clippy allow for useless_conversion (necessary for cross-platform compat)
- Fixes type mismatch errors in vortex_ffi::file::vx_file_scan_options
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Claude <[email protected]>1 parent 1ea8974 commit 1e1949b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments