mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.
This commit is contained in:
parent
7904bff7ad
commit
a92fa9b2bc
1 changed files with 1 additions and 1 deletions
|
@ -1646,7 +1646,7 @@ PHP_FUNCTION(mmapfile)
|
||||||
char *in_addr;
|
char *in_addr;
|
||||||
struct stat f_stat;
|
struct stat f_stat;
|
||||||
|
|
||||||
memset (&f_stat, 0, sizeof (stat));
|
memset (&f_stat, 0, sizeof (f_stat));
|
||||||
|
|
||||||
/* check args */
|
/* check args */
|
||||||
switch (ARG_COUNT(ht)) {
|
switch (ARG_COUNT(ht)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue