Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6715828d
Kaydet (Commit)
6715828d
authored
Kas 19, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
_msi.c: Fix compiler warnings on Windows 64-bit
"hf" type is INT_PTR, it is used to store an int in _msi.c.
üst
f8e3221f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
_msi.c
PC/_msi.c
+4
-4
No files found.
PC/_msi.c
Dosyayı görüntüle @
6715828d
...
@@ -63,7 +63,7 @@ static FNFCIOPEN(cb_open)
...
@@ -63,7 +63,7 @@ static FNFCIOPEN(cb_open)
static
FNFCIREAD
(
cb_read
)
static
FNFCIREAD
(
cb_read
)
{
{
UINT
result
=
(
UINT
)
_read
(
hf
,
memory
,
cb
);
UINT
result
=
(
UINT
)
_read
(
(
int
)
hf
,
memory
,
cb
);
if
(
result
!=
cb
)
if
(
result
!=
cb
)
*
err
=
errno
;
*
err
=
errno
;
return
result
;
return
result
;
...
@@ -71,7 +71,7 @@ static FNFCIREAD(cb_read)
...
@@ -71,7 +71,7 @@ static FNFCIREAD(cb_read)
static
FNFCIWRITE
(
cb_write
)
static
FNFCIWRITE
(
cb_write
)
{
{
UINT
result
=
(
UINT
)
_write
(
hf
,
memory
,
cb
);
UINT
result
=
(
UINT
)
_write
(
(
int
)
hf
,
memory
,
cb
);
if
(
result
!=
cb
)
if
(
result
!=
cb
)
*
err
=
errno
;
*
err
=
errno
;
return
result
;
return
result
;
...
@@ -79,7 +79,7 @@ static FNFCIWRITE(cb_write)
...
@@ -79,7 +79,7 @@ static FNFCIWRITE(cb_write)
static
FNFCICLOSE
(
cb_close
)
static
FNFCICLOSE
(
cb_close
)
{
{
int
result
=
_close
(
hf
);
int
result
=
_close
(
(
int
)
hf
);
if
(
result
!=
0
)
if
(
result
!=
0
)
*
err
=
errno
;
*
err
=
errno
;
return
result
;
return
result
;
...
@@ -87,7 +87,7 @@ static FNFCICLOSE(cb_close)
...
@@ -87,7 +87,7 @@ static FNFCICLOSE(cb_close)
static
FNFCISEEK
(
cb_seek
)
static
FNFCISEEK
(
cb_seek
)
{
{
long
result
=
(
long
)
_lseek
(
hf
,
dist
,
seektype
);
long
result
=
(
long
)
_lseek
(
(
int
)
hf
,
dist
,
seektype
);
if
(
result
==
-
1
)
if
(
result
==
-
1
)
*
err
=
errno
;
*
err
=
errno
;
return
result
;
return
result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment