canna input method: fixes 64 bit warnings
* ugly, this code is not really fixable anyway.
This commit is contained in:
parent
847f1a92bd
commit
b2b1ed3e22
@ -2039,7 +2039,7 @@ KC_changeServer(uiContext d, char *arg)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return (int)RkwGetServerName();
|
||||
return (int)(addr_t)RkwGetServerName();
|
||||
}
|
||||
|
||||
static int
|
||||
@ -2103,7 +2103,7 @@ KC_setUserInfo(uiContext d, jrUserInfoStruct *arg)
|
||||
sprintf(buf, "%s/%s",
|
||||
uinfo->topdir ? uinfo->topdir : "", "default.can");
|
||||
}
|
||||
wcKanjiControl((int)d, KC_SETINITFILENAME, buf);
|
||||
wcKanjiControl((int)(addr_t)d, KC_SETINITFILENAME, buf);
|
||||
RkwSetUserInfo(uinfo->uname, uinfo->gname, uinfo->topdir);
|
||||
ret = 1;
|
||||
goto return_ret;
|
||||
|
@ -688,7 +688,7 @@ _RkRealizeDD(struct DD *dd)
|
||||
int ret = -1;
|
||||
int tmpres;
|
||||
int fdes;
|
||||
long tloc;
|
||||
time_t tloc;
|
||||
|
||||
char *whattime, *header, *dicsdir, *backup;
|
||||
whattime = (char *)malloc(RK_LINE_BMAX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user