Browse Source

Do not use non-standard type u_int32_t.

Instead, use UINT4 for now which is platform-independent.

PR: #4262
PHP-4.0.5
Sascha Schumann 27 years ago
parent
commit
654b75694a
  1. 5
      ext/icap/php_icap.c
  2. 5
      ext/mcal/php_mcal.c

5
ext/icap/php_icap.c

@ -51,6 +51,7 @@
#include "php_icap.h"
#include "modules.h"
#include "ext/standard/info.h"
#include "ext/standard/global.h"
#if (WIN32|WINNT)
#include "winsock.h"
#endif
@ -67,7 +68,7 @@ typedef struct php_icap_le_struct {
typedef struct cal_list
{
u_int32_t uid;
UINT4 uid;
struct cal_list *next;
} cal_list_t;
@ -904,7 +905,7 @@ void cc_searched (unsigned long cal_uid)
}
void cc_appended(u_int32_t uid)
void cc_appended(UINT4 uid)
{
}

5
ext/mcal/php_mcal.c

@ -51,6 +51,7 @@
#include "php_mcal.h"
#include "modules.h"
#include "ext/standard/info.h"
#include "ext/standard/global.h"
#ifdef PHP_WIN32
#include "winsock.h"
#endif
@ -68,7 +69,7 @@ typedef struct _php_mcal_le_struct {
typedef struct cal_list {
u_int32_t uid;
UINT4 uid;
struct cal_list *next;
} cal_list_t;
@ -1598,7 +1599,7 @@ void cc_searched (unsigned long cal_uid)
}
}
void cc_appended(u_int32_t uid)
void cc_appended(UINT4 uid)
{
}

Loading…
Cancel
Save