Bug 3885 - utils/net_rpc.c: enumerated type is mixed with another type
utils/net_rpc.c: enumerated type is mixed with another type
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-28 10:12 UTC by Jason Mader
Modified: 2006-06-28 13:46 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 2006-06-28 10:12:37 UTC
--- utils/net_rpc.o ---
cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1496
  An enumerated type is mixed with another type.

        SETSTR("fullname", full_name, FULL_NAME);
        ^

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1497
  An enumerated type is mixed with another type.

        SETSTR("homedir", home_dir, HOME_DIR);
        ^

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1498
  An enumerated type is mixed with another type.

        SETSTR("homedrive", dir_drive, HOME_DRIVE);
        ^

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1499
  An enumerated type is mixed with another type.

        SETSTR("logonscript", logon_script, LOGON_SCRIPT);
        ^

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1500
  An enumerated type is mixed with another type.

        SETSTR("profilepath", profile_path, PROFILE);
        ^

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1501
  An enumerated type is mixed with another type.

        SETSTR("description", acct_desc, DESCRIPTION);
        ^
Comment 1 Jason Mader 2006-06-28 10:15:15 UTC
I expanded the macro, looks like it's the STR_TERMINATE.

cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1498
  An enumerated type is mixed with another type.

          init_unistr2(&usr->uni_full_name, argv[0], STR_TERMINATE); \
                                                     ^
Comment 2 Jeremy Allison 2006-06-28 13:46:54 UTC
Fixed thanks !
Jeremy.