mirror of
https://github.com/curl/curl.git
synced 2026-08-03 14:10:30 +03:00
Fix getsockname argument type
Improve "universal" alignment type in struct memdebug
This commit is contained in:
parent
c1b9356081
commit
259f27b09f
2 changed files with 5 additions and 2 deletions
|
|
@ -47,7 +47,10 @@
|
|||
|
||||
struct memdebug {
|
||||
size_t size;
|
||||
double mem[1];
|
||||
union {
|
||||
double d;
|
||||
void * p;
|
||||
} mem[1];
|
||||
/* I'm hoping this is the thing with the strictest alignment
|
||||
* requirements. That also means we waste some space :-( */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue