mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 890853. r=rstrong.
This commit is contained in:
parent
fc305ae760
commit
3074f57e1c
@ -178,7 +178,7 @@ MarFile *mar_open(const char *path) {
|
||||
MarFile *mar_wopen(const wchar_t *path) {
|
||||
FILE *fp;
|
||||
|
||||
fp = _wfopen(path, L"rb");
|
||||
_wfopen_s(&fp, path, L"rb");
|
||||
if (!fp)
|
||||
return NULL;
|
||||
|
||||
@ -386,7 +386,7 @@ int
|
||||
mar_read_product_info_block(MarFile *mar,
|
||||
struct ProductInformationBlock *infoBlock)
|
||||
{
|
||||
int i, hasAdditionalBlocks, offset,
|
||||
int i, hasAdditionalBlocks,
|
||||
offsetAdditionalBlocks, numAdditionalBlocks,
|
||||
additionalBlockSize, additionalBlockID;
|
||||
/* The buffer size is 97 bytes because the MAR channel name < 64 bytes, and
|
||||
|
Loading…
Reference in New Issue
Block a user