This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocaml-ctypes.

commit fee228c1641d0104821d78e0b1a4317e89b2dcc5
Author: Stephane Glondu <st...@glondu.net>
Date:   Wed Jun 22 15:43:07 2016 +0200

    Fix typo in ctypes_primitive_ffitype
---
 .../0007-Fix-typo-in-ctypes_primitive_ffitype.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0007-Fix-typo-in-ctypes_primitive_ffitype.patch 
b/debian/patches/0007-Fix-typo-in-ctypes_primitive_ffitype.patch
new file mode 100644
index 0000000..38df383
--- /dev/null
+++ b/debian/patches/0007-Fix-typo-in-ctypes_primitive_ffitype.patch
@@ -0,0 +1,21 @@
+From: Stephane Glondu <st...@glondu.net>
+Date: Wed, 22 Jun 2016 15:42:49 +0200
+Subject: Fix typo in ctypes_primitive_ffitype
+
+---
+ src/ctypes-foreign-base/ffi_type_stubs.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ctypes-foreign-base/ffi_type_stubs.c 
b/src/ctypes-foreign-base/ffi_type_stubs.c
+index 8e9cf02..461be44 100644
+--- a/src/ctypes-foreign-base/ffi_type_stubs.c
++++ b/src/ctypes-foreign-base/ffi_type_stubs.c
+@@ -75,7 +75,7 @@ value ctypes_primitive_ffitype(value prim)
+     case Ctypes_Long:      ft = &ffi_type_slong;          break; /* Long */
+     case Ctypes_Llong:     ft = &ctypes_ffi_type_sllong;  break; /* Llong */
+     case Ctypes_Ushort:    ft = &ffi_type_ushort;         break; /* Ushort */
+-    case Ctypes_Uint:      ft = &ffi_type_ulong;          break; /* Uint */
++    case Ctypes_Uint:      ft = &ffi_type_uint;           break; /* Uint */
+     case Ctypes_Ulong:     ft = &ffi_type_ulong;          break; /* Ulong */
+     case Ctypes_Ullong:    ft = &ctypes_ffi_type_ullong;  break; /* Ullong */
+     case Ctypes_Size_t:    ft = &ctypes_ffi_type_size_t;  break; /* Size */
diff --git a/debian/patches/series b/debian/patches/series
index cce951b..e9910e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Missing-return-in-ffi_return_type_adjustment.patch
 0005-Add-support-for-bytecode-architectures.patch
 0006-Fix-test-roots.patch
+0007-Fix-typo-in-ctypes_primitive_ffitype.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ctypes.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to