forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/736444 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Aug 9, 2020
1 parent
3bef503
commit 6bfd43b
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/Sound/Wav/ChannelData.hs | ||
+++ b/Sound/Wav/ChannelData.hs | ||
@@ -111,7 +111,7 @@ wordPutter 1 = putInt8 . zeroStable (0 :: Int8) | ||
wordPutter 2 = putInt16le . zeroStable (0 :: Int16) | ||
wordPutter 3 = putInt32le . zeroStable (0 :: Int32) | ||
wordPutter 4 = putInt64le | ||
-wordPutter x = \_ -> fail $ "The is no word putter for byte size " ++ show x | ||
+wordPutter x = \_ -> error $ "The is no word putter for byte size " ++ show x | ||
|
||
wordGetter :: (Num a, Show a, Eq a) => a -> Get Int64 | ||
wordGetter 1 = fmap zeroStable64 getInt8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters