mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
merge rt33813: MSVC doesn't propage const to dynamic array sizes
This commit is contained in:
@@ -106,7 +106,7 @@ typedef struct file_header file_header_t;
|
|||||||
static char FILE_VERSION[32] = "\0";
|
static char FILE_VERSION[32] = "\0";
|
||||||
|
|
||||||
/* Header length, always the same size regardless of structure size */
|
/* Header length, always the same size regardless of structure size */
|
||||||
const unsigned int HEADER_LENGTH = 1024;
|
#define HEADER_LENGTH 1024
|
||||||
|
|
||||||
struct file_header {
|
struct file_header {
|
||||||
char version1[32];
|
char version1[32];
|
||||||
|
@@ -103,7 +103,7 @@ typedef struct rbtdb_file_header rbtdb_file_header_t;
|
|||||||
static char FILE_VERSION[32] = "\0";
|
static char FILE_VERSION[32] = "\0";
|
||||||
|
|
||||||
/* Header length, always the same size regardless of structure size */
|
/* Header length, always the same size regardless of structure size */
|
||||||
static const unsigned int RBTDB_HEADER_LENGTH = 1024;
|
#define RBTDB_HEADER_LENGTH 1024
|
||||||
|
|
||||||
struct rbtdb_file_header {
|
struct rbtdb_file_header {
|
||||||
char version1[32];
|
char version1[32];
|
||||||
|
Reference in New Issue
Block a user