diff --git a/libstats/pull_rust/stats_pull.rs b/libstats/pull_rust/stats_pull.rs index 174125e9a..09b26232f 100644 --- a/libstats/pull_rust/stats_pull.rs +++ b/libstats/pull_rust/stats_pull.rs @@ -68,7 +68,7 @@ impl Metadata { } /// Calls AStatsManager_PullAtomMetadata_setAdditiveFields. - pub fn set_additive_fields(&mut self, additive_fields: &mut Vec) { + pub fn set_additive_fields(&mut self, additive_fields: &mut [i32]) { // Safety: Metadata::new ensures that self.metadata is a valid object. unsafe { AStatsManager_PullAtomMetadata_setAdditiveFields(