diff options
Diffstat (limited to 'AppKit/GTMCarbonEvent.m')
-rw-r--r-- | AppKit/GTMCarbonEvent.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/AppKit/GTMCarbonEvent.m b/AppKit/GTMCarbonEvent.m index a0fd6ef..a2cf3f9 100644 --- a/AppKit/GTMCarbonEvent.m +++ b/AppKit/GTMCarbonEvent.m @@ -157,7 +157,9 @@ // description utliity for debugging // - (NSString *)description { - char cls[5]; + // Use 8 bytes because stack protection gives us a warning if we use a + // smaller buffer. + char cls[8]; UInt32 kind; // Need everything bigendian if we are printing out the class as a "string" |