Commit 8a03959
committed
Fix building for windows
Windows building fails with:
```
error[E0308]: mismatched types
--> src\cass_error.rs:137:81
|
137 | CassError((CassErrorSource::CASS_ERROR_SOURCE_SERVER.0 << 24) | (*num as u32))
| ^^^^^^^^^^^^^ expected `i32`, found `u32`
error[E0277]: no implementation for `i32 | u32`
--> src\cass_error.rs:137:79
|
137 | CassError((CassErrorSource::CASS_ERROR_SOURCE_SERVER.0 << 24) | (*num as u32))
| ^ no implementation for `i32 | u32`
```1 parent e975b83 commit 8a03959
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments