forked from mia/Aegisub
Oops, had swapped size and value parameters in a memset call.
Originally committed to SVN as r2901.
This commit is contained in:
parent
97427e7b46
commit
24aa9785ae
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ PCMAudioProvider::PCMAudioProvider(const wxString &filename)
|
|||
}
|
||||
|
||||
struct stat filestats;
|
||||
memset(&filestats, sizeof(filestats), 0);
|
||||
memset(&filestats, 0, sizeof(filestats));
|
||||
if (fstat(file_handle, &filestats)) {
|
||||
close(file_handle);
|
||||
throw _T("PCM audio provider: Could not stat file to get size");
|
||||
|
|
Loading…
Reference in a new issue