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