Bug 3006 - utils/profiles.c: "const char *" incompatible with "char *"
utils/profiles.c: "const char *" incompatible with "char *"
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.20
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on: 2997
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-15 11:31 UTC by Jason Mader
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
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 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 2005-08-15 11:35:21 UTC
Additional changes beyond Bug 2997.
Comment 2 Jason Mader 2005-08-15 11:36:11 UTC
Created attachment 1379 [details]
change sid_str and lstr to "const char *"
Comment 3 Gerald (Jerry) Carter 2005-09-28 07:11:58 UTC
Patch not needed after profiles.c rewrite.