Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

src/core/global.c: incorrect format specifier for uin64_t #205

Closed
djc opened this Issue · 1 comment

1 participant

@djc
Owner
djc commented
src/core/global.c:904:35: warning: format specifies type 'unsigned long' but the argument has type
      'uint64_t' (aka 'unsigned long long') [-Wformat]
            s->socket_name, name, value);
                                  ^~~~~
src/core/global.c:919:26: warning: format specifies type 'unsigned long' but the argument has type
      'uint64_t' (aka 'unsigned long long') [-Wformat]
                timebuf, value);
                         ^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: 
      expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
src/core/global.c:923:26: warning: format specifies type 'unsigned long' but the argument has type
      'uint64_t' (aka 'unsigned long long') [-Wformat]
                timebuf, value);
                         ^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: 
      expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^

With Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) on OS X 10.9.

@djc djc closed this in 624c483
@djc
Owner
djc commented

Err, I really wanted to do a PR, sorry if this was a bit hasty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.