aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/common/minidump_cpu_sparc.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 17:38:01 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 17:38:01 +0000
commita75f1bf9e7abbd52a7b495613ada2df554cc592d (patch)
tree0b3131dff657989a8a93fe5a90ae9a4cd7efdb9f /src/google_breakpad/common/minidump_cpu_sparc.h
parentRemove duplicate definition of GTMLoggerDebug. (diff)
downloadbreakpad-a75f1bf9e7abbd52a7b495613ada2df554cc592d.tar.xz
Fix harmless printf abuse in symupload.
symupload printed -[NSData length], an NSUInteger, using %lu. %lu is proper to print a "long" as unsigned, but NSUInteger is a typedef for "unsigned int" when building for 32-bit. This would not have caused any problems, because in the 32-bit model, both int and long are 32 bits wide. In the 64-bit model, long is 64 bits wide, but NSUInteger is defiend as "unsigned long", so there wouldn't have even been a warning in that case. This addresses the following warning: symupload.m:137:30:{137:28-137:31}{137:46-137:59}: warning: conversion specifies type 'unsigned long' but the argument has type 'NSUInteger' (aka 'unsigned int') [-Wformat] Review URL: http://breakpad.appspot.com/313002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@860 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_breakpad/common/minidump_cpu_sparc.h')
0 files changed, 0 insertions, 0 deletions