Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PyPy
cffi
Commits
e15fd37f19d0
Commit
3c54d184
authored
Feb 19, 2021
by
Armin Rigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Need a cast here because the type ffi_status is unsigned
parent
df48cf87f50f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c/_cffi_backend.c
c/_cffi_backend.c
+2
-2
No files found.
c/_cffi_backend.c
View file @
e15fd37f
...
...
@@ -5854,7 +5854,7 @@ static cif_description_t *fb_prepare_cif(PyObject *fargs,
char
*
buffer
;
cif_description_t
*
cif_descr
;
struct
funcbuilder_s
funcbuffer
;
ffi_status
status
=
-
1
;
ffi_status
status
=
(
ffi_status
)
-
1
;
funcbuffer
.
nb_bytes
=
0
;
funcbuffer
.
bufferp
=
NULL
;
...
...
@@ -5889,7 +5889,7 @@ static cif_description_t *fb_prepare_cif(PyObject *fargs,
}
#endif
if
(
status
==
-
1
)
{
if
(
status
==
(
ffi_status
)
-
1
)
{
status
=
ffi_prep_cif
(
&
cif_descr
->
cif
,
fabi
,
funcbuffer
.
nargs
,
funcbuffer
.
rtype
,
funcbuffer
.
atypes
);
}
...
...
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