Fix warning and Win32 in general
This commit is contained in:
parent
7993ba946c
commit
5e3b8b3b12
7 changed files with 27 additions and 12 deletions
|
|
@ -364,7 +364,7 @@ static size_t dopr(char* buffer, size_t maxlen, const char* format, va_list args
|
|||
break;
|
||||
case 'p':
|
||||
strvalue = va_arg(args, void*);
|
||||
fmtint(buffer, &currlen, maxlen, (long)strvalue, 16, min, max, flags);
|
||||
fmtint(buffer, &currlen, maxlen, (size_t)strvalue, 16, min, max, flags);
|
||||
break;
|
||||
case 'n':
|
||||
if(cflags == DP_C_SHORT) {
|
||||
|
|
|
|||
|
|
@ -233,9 +233,9 @@ opendict(SJ4_CONTEXT char* name, char* passwd) {
|
|||
u_char* dp;
|
||||
VFile vf;
|
||||
|
||||
#if defined(EMBED) || defined(EMBED_PLUS)
|
||||
memset(&vf, 0, sizeof(vf));
|
||||
|
||||
#if defined(EMBED) || defined(EMBED_PLUS)
|
||||
if(strcmp(name, "sj4main.dic") == 0) {
|
||||
extern u_char sj4main_dic[];
|
||||
extern u_int sj4main_dic_len;
|
||||
|
|
|
|||
1
lib/sj4ime/ime.c
Normal file
1
lib/sj4ime/ime.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include <sj_ime.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue