Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'
- From
- Geert Bosch <bosch@adacore.com>
- Date
- Nov 21, 2007, 12:43 UTC
- Message-ID
- <2348F06A-F9A2-4A8F-8501-D0B696F34388@adacore.com>
- In-Reply-To
- <Pine.LNX.4.64.0711210336210.27959@racer.site>
On Nov 20, 2007, at 22:40, Johannes Schindelin wrote:
> Oh, and it relies on "int" being castable to void * and vice > versa. Is anybody aware of a platform where this can lead to > problems?
Like any 64-bit system? int is 32 bit and void * is 64. So, casting a pointer to an int drops half the bits. When you convert it back it will point to a funny place...
-Geert