Re: Gecko switched to use standard integer types

2012-08-23 Thread Mike Hommey
On Wed, Aug 22, 2012 at 04:12:30PM -0700, Justin Lebar wrote: bholley and I have a script for doing this in git. With thanks to glandium for telling us how to do it: 0. Fetch the prtypes change, and merge it into your local master branch. 1. Let your git checkout be directory |src|. 2.

Re: Gecko switched to use standard integer types

2012-08-23 Thread Makoto Kato
How about PRUptrdiff? Most cases can changes to uintptr_t. On 2012/08/23 1:35, Ehsan Akhgari wrote: I just landed the patches in bug 579517 which switch all of the code in mozilla-central and comm-central [1] to use the standard integer types as opposed to NSPR integer types. Here's what

Re: Gecko switched to use standard integer types

2012-08-23 Thread Bas Schouten
Is ptrdiff_t not portable? As far as I know it's part of the standard. - Original Message - From: Makoto Kato m_k...@ga2.so-net.ne.jp To: dev-platform@lists.mozilla.org Sent: Friday, August 24, 2012 1:30:39 AM Subject: Re: Gecko switched to use standard integer types How about PRUptrdiff

Re: Gecko switched to use standard integer types

2012-08-23 Thread Makoto Kato
When I ported Gecko to LLP64 model OS (Win64) several years ago, some reviewers said, Use PRUptrdiff for pointer size value instread of PRUword. So I landed a fix by PRUptrdiff for this... OK. I will file a bug for these situation. Some causes can replace with uintptr_t. On 2012/08/24

Re: Gecko switched to use standard integer types

2012-08-22 Thread Jonathan Kew
On 22/8/12 17:35, Ehsan Akhgari wrote: I just landed the patches in bug 579517 which switch all of the code in mozilla-central and comm-central [1] to use the standard integer types as opposed to NSPR integer types. Here's what this means to you: * If you're a developer, this will most likely

Re: Gecko switched to use standard integer types

2012-08-22 Thread Justin Lebar
bholley and I have a script for doing this in git. With thanks to glandium for telling us how to do it: 0. Fetch the prtypes change, and merge it into your local master branch. 1. Let your git checkout be directory |src|. 2. Save the script at the end of this message as src/../convert.sh. 3.