changeset 5201:11ed8768ac4f

attempt to fix errors in canna_api.c -------------------- ChangeLog entries follow: -------------------- modules/ChangeLog addition: 2010-04-12 Ben Wing <ben@xemacs.org> * canna/canna_api.c: * canna/canna_api.c (Fcanna_henkan_begin): Fixes for errors reported in smoketest build.
author Ben Wing <ben@xemacs.org>
date Mon, 12 Apr 2010 01:35:56 -0500
parents 70ed8a0d8da8
children 1c615eb1e4b2
files modules/ChangeLog modules/canna/canna_api.c
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/modules/ChangeLog	Mon Apr 12 00:55:04 2010 -0500
+++ b/modules/ChangeLog	Mon Apr 12 01:35:56 2010 -0500
@@ -1,3 +1,9 @@
+2010-04-12  Ben Wing  <ben@xemacs.org>
+
+	* canna/canna_api.c:
+	* canna/canna_api.c (Fcanna_henkan_begin):
+	Fixes for errors reported in smoketest build.
+
 2010-03-12  Ben Wing  <ben@xemacs.org>
 
 	* base64/base64.c:
--- a/modules/canna/canna_api.c	Mon Apr 12 00:55:04 2010 -0500
+++ b/modules/canna/canna_api.c	Mon Apr 12 01:35:56 2010 -0500
@@ -2,7 +2,7 @@
 
    Copyright (C) 1995 Free Software Foundation, Inc.
    Copyright (C) 1995 Sun Microsystems, Inc.
-   Copyright (C) 2005 Ben Wing.
+   Copyright (C) 2005, 2010 Ben Wing.
 
 This file is part of XEmacs.
 
@@ -661,7 +661,7 @@
 
 #define RKBUFSIZE 1024
 
-static unsigned char yomibuf[RKBUFSIZE];
+static UExtbyte yomibuf[RKBUFSIZE];
 static short kugiri[RKBUFSIZE / 2];
 
 static int
@@ -720,7 +720,7 @@
   strncpy ((char *) yomibuf, ext, sizeof (yomibuf));
   yomibuf[sizeof (yomibuf) - 1] = '\0';
 
-  nbun = RkBgnBun (IRCP_context, yomibuf, strlen ((char *) yomibuf),
+  nbun = RkBgnBun (IRCP_context, (char *) yomibuf, strlen ((char *) yomibuf),
 		   (RK_XFER << RK_XFERBITS) | RK_KFER);
 
   return kanjiYomiList (IRCP_context, nbun);