summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-13 19:43:39 +0000
committerArd Biesheuvel <abies@php.net>2003-09-13 19:43:39 +0000
commitf940b0fe3c4c172641230f6efb56333e1b3b2cf5 (patch)
tree0b4bc78e4fca97cf4117585e11433df0140919ce /main/streams/plain_wrapper.c
parent94ff3d5e7d9395ac029fcc2493119a487c70991b (diff)
downloadphp-git-f940b0fe3c4c172641230f6efb56333e1b3b2cf5.tar.gz
Pointer size fix
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index f8fd0c9153..a7ac4fa5e7 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -629,7 +629,7 @@ static int php_stdiop_set_option(php_stream *stream, int option, int value, void
return -1;
}
- if ((int) ptrparam == PHP_STREAM_LOCK_SUPPORTED) {
+ if ((long) ptrparam == PHP_STREAM_LOCK_SUPPORTED) {
return 0;
}