native-activity: coerce savedStateSize with

The type may have different sizes depending on the build target
This commit is contained in:
Robert Bragg
2022-08-12 01:04:56 +01:00
parent 7a77402279
commit f54eaa2997
+1 -1
View File
@@ -72,7 +72,7 @@ impl<'a> StateSaver<'a> {
}
(*app_ptr).savedState = buf;
(*app_ptr).savedStateSize = state.len() as u64;
(*app_ptr).savedStateSize = state.len() as _;
}
}
}