cvs: php4 /ext/icap/ php_icap.c /ext/mcal/ php_mcal.c
| From: | Sascha Schumann | Date: | Sat, 13 May 2000 09:36:32 +0000 |
| Subject: | cvs: php4 /ext/icap/ php_icap.c /ext/mcal/ php_mcal.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14971@lists.php.net to get a copy of this message | ||
sas Sat May 13 11:36:32 2000 EDT
Modified files:
/php4/ext/mcal php_mcal.c
/php4/ext/icap php_icap.c
Log:
Do not use non-standard type u_int32_t.
Instead, use UINT4 for now which is platform-independent.
PR: #4262
Index: php4/ext/mcal/php_mcal.c
diff -u php4/ext/mcal/php_mcal.c:1.22 php4/ext/mcal/php_mcal.c:1.23
--- php4/ext/mcal/php_mcal.c:1.22 Tue May 2 02:44:24 2000
+++ php4/ext/mcal/php_mcal.c Sat May 13 11:36:31 2000
@@ -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 cal_list {
- u_int32_t uid;
+ UINT4 uid;
struct cal_list *next;
} cal_list_t;
@@ -1598,7 +1599,7 @@
}
}
-void cc_appended(u_int32_t uid)
+void cc_appended(UINT4 uid)
{
}
Index: php4/ext/icap/php_icap.c
diff -u php4/ext/icap/php_icap.c:1.9 php4/ext/icap/php_icap.c:1.10
--- php4/ext/icap/php_icap.c:1.9 Tue May 2 02:44:23 2000
+++ php4/ext/icap/php_icap.c Sat May 13 11:36:31 2000
@@ -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 cal_list
{
-u_int32_t uid;
+UINT4 uid;
struct cal_list *next;
} cal_list_t;
@@ -904,7 +905,7 @@
}
-void cc_appended(u_int32_t uid)
+void cc_appended(UINT4 uid)
{
}