File openmotif-unaligned.diff of Package openmotif

--- lib/Xm/TextF.c
+++ lib/Xm/TextF.c
@@ -3906,7 +3906,7 @@
 					    nextPos, insert_string,
 					    insert_length, True);
     } else {
-      char stack_cache[100];
+      wchar_t stack_cache[100];
       insert_string[insert_length] = '\0'; /* NULL terminate for mbstowcs */
       wc_insert_string = (wchar_t*)XmStackAlloc((Cardinal)(insert_length+1) *
 						sizeof(wchar_t), stack_cache);
@@ -6964,7 +6964,7 @@
   
   int str_len = 0;
   int i, j;
-  char stack_cache[400];
+  wchar_t stack_cache[400];
   
   if (!is_wchar) {
     char *temp_str, *curr_str, *start_temp;