Bug 3006 - utils/profiles.c: "const char *" incompatible with "char *"
Summary: utils/profiles.c: "const char *" incompatible with "char *"
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 2997
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-15 11:31 UTC by Jason Mader (mail bounces back)
Modified: 2005-09-28 07:11 UTC (History)
0 users

See Also:


Attachments
change sid_str and lstr to "const char *" (777 bytes, patch)
2005-08-15 11:36 UTC, Jason Mader (mail bounces back)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2005-08-15 11:31:11 UTC
cc-1164 cc: WARNING File = utils/profiles.c, Line = 557
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                if (!get_sid(&old_sid, poptGetOptArg(pc))) {
                                       ^

cc-1164 cc: WARNING File = utils/profiles.c, Line = 566
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                if (!get_sid(&new_sid, poptGetOptArg(pc))) {
                                       ^
Comment 1 Jason Mader (mail bounces back) 2005-08-15 11:35:21 UTC
Additional changes beyond Bug 2997.
Comment 2 Jason Mader (mail bounces back) 2005-08-15 11:36:11 UTC
Created attachment 1379 [details]
change sid_str and lstr to "const char *"
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-09-28 07:11:58 UTC
Patch not needed after profiles.c rewrite.