Try to get it compiling on Win64

svn path=/trunk/; revision=30636
This commit is contained in:
Jeff Morriss 2009-10-20 14:12:41 +00:00
parent 762af05327
commit d4d62e3e0d
1 changed files with 3 additions and 3 deletions

View File

@ -2488,7 +2488,7 @@ netlogon_dissect_netrserverreqchallenge_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree, guint8 *drep) packet_info *pinfo, proto_tree *tree, guint8 *drep)
{ {
/*int oldoffset = offset;*/ /*int oldoffset = offset;*/
int txt_len = 0; unsigned int txt_len = 0;
netlogon_auth_vars *vars; netlogon_auth_vars *vars;
netlogon_auth_vars *existing_vars; netlogon_auth_vars *existing_vars;
netlogon_auth_key *key = se_alloc(sizeof(netlogon_auth_key)); netlogon_auth_key *key = se_alloc(sizeof(netlogon_auth_key));
@ -2527,7 +2527,7 @@ netlogon_dissect_netrserverreqchallenge_rqst(tvbuff_t *tvb, int offset,
existing_vars = NULL; existing_vars = NULL;
existing_vars = g_hash_table_lookup(netlogon_auths, key); existing_vars = g_hash_table_lookup(netlogon_auths, key);
if (!existing_vars) { if (!existing_vars) {
g_hash_table_insert(netlogon_auths,(gconstpointer*) key,vars); g_hash_table_insert(netlogon_auths, key, vars);
} }
else { else {
while(existing_vars->next != NULL && existing_vars->start <= vars->start) { while(existing_vars->next != NULL && existing_vars->start <= vars->start) {
@ -2548,7 +2548,7 @@ netlogon_dissect_netrserverreqchallenge_rqst(tvbuff_t *tvb, int offset,
existing_vars = g_hash_table_lookup(schannel_auths, key); existing_vars = g_hash_table_lookup(schannel_auths, key);
if (!existing_vars) if (!existing_vars)
{ {
g_hash_table_insert(schannel_auths,(gconstpointer*) key,vars); g_hash_table_insert(schannel_auths, key, vars);
} }
else else
{ {