Bug 2534 - lib/iconv.c: several type mismatches
Summary: lib/iconv.c: several type mismatches
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: SGI IRIX
: P4 minor
Target Milestone: none
Assignee: James Peach
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 06:48 UTC by Jason Mader (mail bounces back)
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 (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-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 (mail bounces back) 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 2005-07-30 22:46:06 UTC
Reassign IRIX bugs to me.
Comment 4 Jason Mader (mail bounces back) 2005-08-09 08:16:45 UTC
Warnings are in 3.0.20rc1
Comment 5 Jason Mader (mail bounces back) 2006-06-27 09:45:33 UTC
Warnings are gone from 3.0.23rc3