We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a792491 commit 652c0edCopy full SHA for 652c0ed
1 file changed
sound/soc/apple/aop_audio.rs
@@ -383,9 +383,9 @@ impl SndSocAopData {
383
#[repr(transparent)]
384
struct SndSocAopDriver(*mut bindings::snd_card);
385
386
-fn copy_str(target: &mut [i8], source: &[u8]) {
+fn copy_str(target: &mut [u8], source: &[u8]) {
387
for i in 0..source.len() {
388
- target[i] = source[i] as _;
+ target[i] = source[i];
389
}
390
391
0 commit comments