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
a439191e
Kaydet (Commit)
a439191e
authored
Eyl 07, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some warnings from MSVC
üst
35b40c65
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
_ctypes.c
Modules/_ctypes/_ctypes.c
+1
-1
vccompat.h
Modules/_decimal/libmpdec/vccompat.h
+0
-4
audioop.c
Modules/audioop.c
+2
-1
_freeze_importlib.c
Programs/_freeze_importlib.c
+1
-1
No files found.
Modules/_ctypes/_ctypes.c
Dosyayı görüntüle @
a439191e
...
...
@@ -3067,7 +3067,7 @@ static PyGetSetDef PyCFuncPtr_getsets[] = {
};
#ifdef MS_WIN32
static
PPROC
FindAddress
(
void
*
handle
,
char
*
name
,
PyObject
*
type
)
static
PPROC
FindAddress
(
void
*
handle
,
c
onst
c
har
*
name
,
PyObject
*
type
)
{
#ifdef MS_WIN64
/* win64 has no stdcall calling conv, so it should
...
...
Modules/_decimal/libmpdec/vccompat.h
Dosyayı görüntüle @
a439191e
...
...
@@ -48,10 +48,6 @@
#undef strtoll
#define strtoll _strtoi64
#define strdup _strdup
#define PRIi64 "I64i"
#define PRIu64 "I64u"
#define PRIi32 "I32i"
#define PRIu32 "I32u"
#endif
...
...
Modules/audioop.c
Dosyayı görüntüle @
a439191e
...
...
@@ -4,6 +4,7 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include <inttypes.h>
typedef
short
PyInt16
;
...
...
@@ -448,7 +449,7 @@ audioop_max_impl(PyObject *module, Py_buffer *fragment, int width)
int
val
=
GETRAWSAMPLE
(
width
,
fragment
->
buf
,
i
);
/* Cast to unsigned before negating. Unsigned overflow is well-
defined, but signed overflow is not. */
if
(
val
<
0
)
absval
=
-
(
unsigned
in
t
)
val
;
if
(
val
<
0
)
absval
=
(
unsigned
int
)
-
(
int64_
t
)
val
;
else
absval
=
val
;
if
(
absval
>
max
)
max
=
absval
;
}
...
...
Programs/_freeze_importlib.c
Dosyayı görüntüle @
a439191e
...
...
@@ -58,7 +58,7 @@ main(int argc, char *argv[])
fprintf
(
stderr
,
"cannot fstat '%s'
\n
"
,
inpath
);
goto
error
;
}
text_size
=
status
.
st_size
;
text_size
=
(
size_t
)
status
.
st_size
;
text
=
(
char
*
)
malloc
(
text_size
+
1
);
if
(
text
==
NULL
)
{
fprintf
(
stderr
,
"could not allocate %ld bytes
\n
"
,
(
long
)
text_size
);
...
...
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