Bug 12643 - lib/util/charset/charset_macosxfs.c
Summary: lib/util/charset/charset_macosxfs.c
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 16:39 UTC by Ruga
Modified: 2018-04-25 10:00 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 Ruga 2017-03-11 16:39:19 UTC
[ 488/3257] Compiling lib/util/charset/charset_macosxfs.c
../lib/util/charset/charset_macosxfs.c:380:3: warning: passing 'char *' to parameter of type 'UInt8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                *outbuf, *outbytesleft, &outsize);
                ^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:313:148: note: passing argument to parameter 'buffer' here
CFIndex CFStringGetBytes(CFStringRef theString, CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, UInt8 *buffer, CFIndex maxBufLen, CFIndex *usedBufLen);
                                                                                                                                                   ^
1 warning generated.
Comment 1 Ruga 2018-04-25 10:00:00 UTC
[ 455/2913] Compiling lib/util/charset/weird.c
[ 456/2913] Compiling lib/util/charset/charset_macosxfs.c
../lib/util/charset/charset_macosxfs.c:380:3: warning: passing 'char *' to parameter of type 'UInt8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                *outbuf, *outbytesleft, &outsize);
                ^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:357:148: note: passing argument to parameter 'buffer' here
CFIndex CFStringGetBytes(CFStringRef theString, CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, UInt8 *buffer, CFIndex maxBufLen, CFIndex *usedBufLen);