Bug 4547 - use int instead of long for 32-bit (to prepare for LP64 compiling)
Summary: use int instead of long for 32-bit (to prepare for LP64 compiling)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Adele Peterson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 21:55 PDT by Darin Adler
Modified: 2005-09-16 15:22 PDT (History)
0 users

See Also:


Attachments
change a lot of longs to ints, remove some unneeded long-specific code (318.19 KB, patch)
2005-08-20 22:28 PDT, Darin Adler
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2005-08-20 21:55:26 PDT
I was talking to Maciej about int vs. long. We decided that 32-bit integers should consistently use "int" 
rather than "long" in our code and our APIs. That includes things called "long" in IDL files because "long" in 
IDL means 32-bit.
Comment 1 Darin Adler 2005-08-20 22:28:43 PDT
Created attachment 3485 [details]
change a lot of longs to ints, remove some unneeded long-specific code
Comment 2 Adele Peterson 2005-09-16 15:22:18 PDT
r=me.  I'm committing this with a few minor changes since the tree has changed a bit since this patch.