Bug 2492 - rpc_server/srv_samr_util.c, Line = 267: "const char *" incompatible with "const unsigned char *"
Summary: rpc_server/srv_samr_util.c, Line = 267: "const char *" incompatible with "con...
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.0.11
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 18:55 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2005-03-18 18:55:29 UTC
Compiling rpc_server/srv_samr_util.c
cc-1164 cc: WARNING File = rpc_server/srv_samr_util.c, Line = 267
  Argument of type "const char *" is incompatible with parameter of type
          "const unsigned char *".

                pdb_sethexhours(new, (const char *)from->logon_hrs.hours);
                                     ^
Comment 1 Jason Mader (mail bounces back) 2005-03-18 18:58:36 UTC
Type cast can be removed.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-03-22 08:55:01 UTC
apparently this one has already been fixed.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:16:16 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.