Bug 2534 - lib/iconv.c: several type mismatches
lib/iconv.c: several type mismatches
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.20
SGI IRIX
: P4 minor
: none
Assigned To: James Peach (outdated mail address)
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-23 06:48 UTC by Jason Mader
Modified: 2006-06-27 09:45 UTC (History)
0 users

See Also:


Attachments
change c, uc to the same type as inbuf, outbuf (777 bytes, patch)
2005-03-23 07:00 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-03-23 06:48:56 UTC
Compiling lib/iconv.c
cc-1515 cc: WARNING File = lib/iconv.c, Line = 645
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        *inbuf = c;
               ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 646
  A value of type "unsigned char *" cannot be assigned to an entity of type
          "char *".

        *outbuf = uc;
                ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 652
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        *inbuf = c;
               ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 653
  A value of type "unsigned char *" cannot be assigned to an entity of type
          "char *".

        *outbuf = uc;
                ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 758
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        *inbuf  = uc;
                ^
cc-1515 cc: WARNING File = lib/iconv.c, Line = 759
  A value of type "unsigned char *" cannot be assigned to an entity of type
          "char *".

        *outbuf = c;
                ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 766
  A value of type "const unsigned char *" cannot be assigned to an entity of
          type "const char *".

        *inbuf  = uc;
                ^

cc-1515 cc: WARNING File = lib/iconv.c, Line = 767
  A value of type "unsigned char *" cannot be assigned to an entity of type
          "char *".
 
        *outbuf = c;
                ^
Comment 1 Jason Mader 2005-03-23 07:00:46 UTC
Created attachment 1091 [details]
change c, uc to the same type as inbuf, outbuf
Comment 2 Gerald (Jerry) Carter 2005-03-24 06:26:14 UTC
lowering priority
Comment 3 James Peach (outdated mail address) 2005-07-30 22:46:06 UTC
Reassign IRIX bugs to me.
Comment 4 Jason Mader 2005-08-09 08:16:45 UTC
Warnings are in 3.0.20rc1
Comment 5 Jason Mader 2006-06-27 09:45:33 UTC
Warnings are gone from 3.0.23rc3