switch_value should be uint32 in make_srv_share_info_ctr()
authorTim Potter <tpot@samba.org>
Mon, 3 Apr 2000 05:00:46 +0000 (05:00 +0000)
committerTim Potter <tpot@samba.org>
Mon, 3 Apr 2000 05:00:46 +0000 (05:00 +0000)
source/srvsvcd/srv_srvsvc_nt.c

index d52372461f9a7aae8aca9eeef178ca61e800187e..b71eb1eee68f9b2540521fe75a4d2ceea3a74273 100644 (file)
@@ -374,7 +374,7 @@ static void make_srv_share_502_info(SH_INFO_502_HDR * sh502,
  makes a SRV_R_NET_SHARE_ENUM structure.
 ********************************************************************/
 static uint32 make_srv_share_info_ctr(SRV_SHARE_INFO_CTR * ctr,
-                                     int switch_value, uint32 *resume_hnd,
+                                     uint32 switch_value, uint32 *resume_hnd,
                                      uint32 *total_entries)
 {
        uint32 status = 0x0;