aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-windows.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 015656d698..4d4f547d01 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2337,20 +2337,21 @@ if they were just another Rust module.")
(define-public rust-windows-targets-0.52
(package
(name "rust-windows-targets")
- (version "0.52.0")
+ (version "0.52.6")
(source (origin
(method url-fetch)
(uri (crate-uri "windows-targets" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1kg7a27ynzw8zz3krdgy6w5gbqcji27j1sz4p7xk2j5j8082064a"))))
+ "0wwrx625nwlfp7k93r2rra568gad1mwd888h1jwnl0vfg5r4ywlv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.52)
("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.52)
("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.52)
+ ("rust-windows-i686-gnullvm" ,rust-windows-i686-gnullvm-0.52)
("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.52)
("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.52)
("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.52)
src_short_to_float_array (shortBuffer, (float *) converterData.data_in, totalSamples); int srcError = src_process (converter, &converterData); if (srcError) throw Exception (__FILE__, __LINE__, "libsamplerate error: ", src_strerror (srcError)); --- a/src/VorbisLibEncoder.cpp +++ b/src/VorbisLibEncoder.cpp @@ -337,7 +337,7 @@ VorbisLibEncoder :: write ( const void * buf, int converted; #ifdef HAVE_SRC_LIB converterData.input_frames = nSamples; - src_short_to_float_array (shortBuffer, converterData.data_in, totalSamples); + src_short_to_float_array (shortBuffer, (float *) converterData.data_in, totalSamples); int srcError = src_process (converter, &converterData); if (srcError) throw Exception (__FILE__, __LINE__, "libsamplerate error: ", src_strerror (srcError)); --- a/src/aacPlusEncoder.cpp +++ b/src/aacPlusEncoder.cpp @@ -155,7 +155,7 @@ aacPlusEncoder :: write ( const void * buf, if ( converter ) { unsigned int converted; #ifdef HAVE_SRC_LIB - src_short_to_float_array ((short *) b, converterData.data_in, samples); + src_short_to_float_array ((short *) b, (float *) converterData.data_in, samples); converterData.input_frames = nSamples; converterData.data_out = resampledOffset + (resampledOffsetSize * channels); int srcError = src_process (converter, &converterData); -- 2.11.0