Blame fix-typecasts-s390x.patch

Jakub Čajka 6d0cc7
diff -up ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pxd.s390x ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pxd
Jakub Čajka 6d0cc7
--- ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pxd.s390x	2022-05-11 17:33:41.727476439 +0200
Jakub Čajka 6d0cc7
+++ ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pxd	2022-05-11 17:34:34.197700039 +0200
Jakub Čajka 6d0cc7
@@ -86,10 +86,10 @@ cdef extern from "_ruamel_yaml.h":
Jakub Čajka 6d0cc7
         YAML_MAPPING_END_EVENT
Jakub Čajka 6d0cc7
 
Jakub Čajka 6d0cc7
     ctypedef int yaml_read_handler_t(void *data, char *buffer,
Jakub Čajka 6d0cc7
-            int size, int *size_read) except 0
Jakub Čajka 6d0cc7
+            size_t size, size_t *size_read) except 0
Jakub Čajka 6d0cc7
 
Jakub Čajka 6d0cc7
     ctypedef int yaml_write_handler_t(void *data, char *buffer,
Jakub Čajka 6d0cc7
-            int size) except 0
Jakub Čajka 6d0cc7
+            size_t size) except 0
Jakub Čajka 6d0cc7
 
Jakub Čajka 6d0cc7
     ctypedef struct yaml_mark_t:
Jakub Čajka 6d0cc7
         int index
Jakub Čajka 6d0cc7
diff -up ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pyx.s390x ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pyx
Jakub Čajka 6d0cc7
--- ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pyx.s390x	2022-05-12 13:05:17.540913818 +0200
Jakub Čajka 6d0cc7
+++ ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/_ruamel_yaml.pyx	2022-05-12 13:06:38.211269280 +0200
Jakub Čajka 6d0cc7
@@ -904,7 +904,7 @@ cdef class CParser:
Jakub Čajka 6d0cc7
                 raise error
Jakub Čajka 6d0cc7
         return 1
Jakub Čajka 6d0cc7
 
Jakub Čajka 6d0cc7
-cdef int input_handler(void *data, char *buffer, int size, int *read) except 0:
Jakub Čajka 6d0cc7
+cdef int input_handler(void *data, char *buffer, size_t size, size_t *read) except 0:
Jakub Čajka 6d0cc7
     cdef CParser parser
Jakub Čajka 6d0cc7
     parser = <CParser>data
Jakub Čajka 6d0cc7
     if parser.stream_cache is None:
Jakub Čajka 6d0cc7
@@ -1514,7 +1514,7 @@ cdef class CEmitter:
Jakub Čajka 6d0cc7
             self.ascend_resolver()
Jakub Čajka 6d0cc7
         return 1
Jakub Čajka 6d0cc7
 
Jakub Čajka 6d0cc7
-cdef int output_handler(void *data, char *buffer, int size) except 0:
Jakub Čajka 6d0cc7
+cdef int output_handler(void *data, char *buffer, size_t size) except 0:
Jakub Čajka 6d0cc7
     cdef CEmitter emitter
Jakub Čajka 6d0cc7
     emitter = <CEmitter>data
Jakub Čajka 6d0cc7
     if emitter.dump_unicode == 0:
Jakub Čajka 6d0cc7
diff -up ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/yaml.h.s390x ruamel-yaml-clib-code-85e484db2b7c37107e4edd2ae6fc380877bbc08e/yaml.h