Fix some warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1072 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,6 +45,9 @@ RCSID("$Id$");
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "proto.h"
|
||||
#include "roken.h"
|
||||
#include "otp.h"
|
||||
|
||||
struct e {
|
||||
@@ -2120,8 +2123,9 @@ get_stdword (char *s, void *v)
|
||||
|
||||
e.s = s;
|
||||
e.n = -1;
|
||||
r = bsearch (&e, inv_std_dict, sizeof(inv_std_dict)/sizeof(*inv_std_dict),
|
||||
sizeof(*inv_std_dict), cmp);
|
||||
r = (struct e *) bsearch (&e, inv_std_dict,
|
||||
sizeof(inv_std_dict)/sizeof(*inv_std_dict),
|
||||
sizeof(*inv_std_dict), cmp);
|
||||
if (r)
|
||||
return r->n;
|
||||
else
|
||||
|
Reference in New Issue
Block a user