← Back to team overview

kicad-developers team mailing list archive

fixing pointer bugs in 64 bit

 

Hi,

I came across a problem in dialog_design_rules.cpp on lines 441 and 462 where a pointer is truncated to 32 bit int. Breaks 64 bit at once. I don't know the proper way of handling it, but there ought to be one. No project should make that kind of assumptions about address space these days. Anyway my current fix was just to put unsigned long there, but someone who has the knowledge should fix it for real.

-Vesa






Follow ups