diff options
Diffstat (limited to 'plugins/MirOTR/Libgpg-error/estream.c')
-rw-r--r-- | plugins/MirOTR/Libgpg-error/estream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/Libgpg-error/estream.c b/plugins/MirOTR/Libgpg-error/estream.c index 42609ee6eb..f4bda2a1c0 100644 --- a/plugins/MirOTR/Libgpg-error/estream.c +++ b/plugins/MirOTR/Libgpg-error/estream.c @@ -4168,7 +4168,7 @@ tmpfd (void) #ifdef HAVE_W32CE_SYSTEM int fd = (int)file; #else - int fd = _open_osfhandle ((long)file, 0); + int fd = _open_osfhandle((INT_PTR)file, 0); if (fd == -1) { CloseHandle (file); |