summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_persist.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-05-19 17:38:29 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-05-19 17:38:29 +0000
commitff88b45ffca806c0d8d9c5c432535c57da930fa6 (patch)
tree80b0827af2da6235319a41816ed08def1ad4a838 /ext/com_dotnet/com_persist.c
parent70fb8c85f1f69264a0c56d6677be3f6bca7303ba (diff)
downloadphp-git-ff88b45ffca806c0d8d9c5c432535c57da930fa6.tar.gz
MFH: Fix compiler warnings
Diffstat (limited to 'ext/com_dotnet/com_persist.c')
-rwxr-xr-xext/com_dotnet/com_persist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_persist.c b/ext/com_dotnet/com_persist.c
index f95aedc66e..9f8eed407e 100755
--- a/ext/com_dotnet/com_persist.c
+++ b/ext/com_dotnet/com_persist.c
@@ -157,7 +157,7 @@ static HRESULT STDMETHODCALLTYPE stm_seek(IStream *This, LARGE_INTEGER dlibMove,
return STG_E_INVALIDFUNCTION;
}
- offset = dlibMove.QuadPart;
+ offset = (off_t) dlibMove.QuadPart;
ret = php_stream_seek(stm->stream, offset, whence);