Pointer casts are evil.
When compiling for i386 (32-bit) systems, the cast from pointer to integer works reliably, but when compiling for x86_64 we get 70 warnings of this form:
gtkfont.c:195: warning: cast from pointer to integer of different size
Either the paramter holding the pointer needs to be made architechure independent or the use of casts/pointers eleminated.
I have not seen any indication of brokeness caused by these warnings, so they can be considered low priority.
Anonymous
results of compile showing pointer cast warnings.
Change (void*) type cast to pass for loop index by refrence
Logged In: YES
user_id=793485
Originator: YES
The output of make previously posted has each warning listed twice... there are just 35 to be concerned about.
The simpler ones involve passing a for loop index by refrence, so I include a patch that should resolve those five.
File Added: xtrkcad.for-loop-index-by-refrence.patch
These should all be resolved as of 4.2.0