From e569ea4b335f1a45bd0701c667cc8e1a50082bef Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 17 Jan 2015 12:52:03 +0100 Subject: [PATCH] caca-sharp: fix an ABI mismatch bug. --- caca-sharp/Canvas.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca-sharp/Canvas.cs b/caca-sharp/Canvas.cs index dcab534..dc27fbd 100644 --- a/caca-sharp/Canvas.cs +++ b/caca-sharp/Canvas.cs @@ -227,7 +227,7 @@ namespace Caca SuppressUnmanagedCodeSecurity] private static extern int caca_set_color_argb(IntPtr cv, uint fg, uint bg); - public int setColorArgb(uint fg, uint bg) + public int setColorArgb(ushort fg, ushort bg) { return caca_set_color_argb(_c_cv, fg, bg); }