We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811d778 commit 20da3e1Copy full SHA for 20da3e1
1 file changed
src/foundation/ns_number.rs
@@ -107,13 +107,15 @@ impl From<c_uint> for Arc<NSNumber> {
107
}
108
109
110
+#[cfg(not(windows))] // On windows, c_long and c_int are the same type.
111
impl From<c_long> for Arc<NSNumber> {
112
#[inline]
113
fn from(value: c_long) -> Self {
114
NSNumber::from_long(value)
115
116
117
118
+#[cfg(not(windows))] // On windows, c_ulong and c_uint are the same type.
119
impl From<c_ulong> for Arc<NSNumber> {
120
121
fn from(value: c_ulong) -> Self {
0 commit comments