openbsd-ports/japanese/Wnn/patches/patch-Wnn_jserver_initjserv_c
2022-03-11 19:24:42 +00:00

20 lines
408 B
Plaintext

--- Wnn/jserver/initjserv.c.orig
+++ Wnn/jserver/initjserv.c
@@ -50,6 +50,7 @@
*/
#include <stdio.h>
#include <ctype.h>
+#include <string.h>
#include "commonhd.h"
#include "de_header.h"
#include "wnn_malloc.h"
@@ -358,7 +359,7 @@ register char *st;
return(num);
case 'd':
case 'D':
- return (atoi(*(st+1)));
+ return (atoi(st+1));
case 'o':
case 'O':
sscanf(st +1, "%o",&num);