projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f97d33
)
signed/unsigned comparison warning
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 18 Sep 2005 14:23:05 +0000
(14:23 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 18 Sep 2005 14:23:05 +0000
(14:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35568
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/unix/sound.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/unix/sound.cpp
b/src/unix/sound.cpp
index 3871409e7ee0c944e9b269d19d5aa38c8879fdad..9c2d86294bbe7332559aa08c53854662e09eee9b 100644
(file)
--- a/
src/unix/sound.cpp
+++ b/
src/unix/sound.cpp
@@
-471,7
+471,7
@@
bool wxSound::Create(const wxString& fileName, bool isResource)
size_t len = wx_truncate_cast(size_t, lenOrig);
wxUint8 *data = new wxUint8[len];
- if (
fileWave.Read(data, len) != len
)
+ if (
fileWave.Read(data, len) != lenOrig
)
{
wxLogError(_("Couldn't load sound data from '%s'."), fileName.c_str());
return false;