summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpc_parse/parse_srv.c')
-rw-r--r--source/rpc_parse/parse_srv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_srv.c b/source/rpc_parse/parse_srv.c
index 8ed67872430..f4e0e84d85a 100644
--- a/source/rpc_parse/parse_srv.c
+++ b/source/rpc_parse/parse_srv.c
@@ -2404,7 +2404,7 @@ static BOOL srv_io_file_info3(const char *desc, FILE_INFO_3 *fl3, prs_struct *ps
if(!prs_uint32("num_locks ", ps, depth, &fl3->num_locks))
return False;
- uni_p = fl3->path ? (uint32)fl3->path : 0;
+ uni_p = fl3->path ? 1 : 0;
if(!prs_uint32("ptr", ps, depth, &uni_p))
return False;
if (UNMARSHALLING(ps)) {
@@ -2413,7 +2413,7 @@ static BOOL srv_io_file_info3(const char *desc, FILE_INFO_3 *fl3, prs_struct *ps
}
}
- uni_p = fl3->user ? (uint32)fl3->user : 0;
+ uni_p = fl3->user ? 1 : 0;
if(!prs_uint32("ptr", ps, depth, &uni_p))
return False;
if (UNMARSHALLING(ps)) {