Bug 3007 - tdb/tdbutil.c: "uint8_t *" incompatible with "char *"
Summary: tdb/tdbutil.c: "uint8_t *" 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:
Blocks:
 
Reported: 2005-08-15 13:34 UTC by Jason Mader (mail bounces back)
Modified: 2006-02-13 10:47 UTC (History)
0 users

See Also:


Attachments
change buf to "char **" (739 bytes, patch)
2005-08-15 13: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 13:34:43 UTC
cc-1164 cc: WARNING File = tdb/tdbutil.c, Line = 508
  Argument of type "uint8_t *" is incompatible with parameter of type "char *".

        len2 = tdb_pack_va((*buf)+(*len), len1, fmt, ap);
                           ^
Comment 1 Jason Mader (mail bounces back) 2005-08-15 13:36:29 UTC
Created attachment 1380 [details]
change buf to "char **"
Comment 2 Jason Mader (mail bounces back) 2006-02-13 10:47:10 UTC
in 3.0.21b there is no compiler warning