mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[util] Make cmem.h more portable
32-bit size_t doesn't like 64-bit bit-fields. More testing needed to see if cmem works properly (mostly alignment) on 32-bit system.
This commit is contained in:
parent
2d67bcacd7
commit
c9f9c1e36b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ typedef struct memsline_s {
|
|||
struct memsline_s *next;
|
||||
size_t size:2;
|
||||
size_t list:4;
|
||||
size_t prev:58; // memsline_t **
|
||||
size_t prev:8 * sizeof (void *) - 6; // memsline_t **
|
||||
} memsline_t;
|
||||
|
||||
typedef struct memblock_s {
|
||||
|
|
Loading…
Reference in a new issue