commit | 075e77cad47cc45491df62f555e665a4401608fd | [log] [tgz] |
---|---|---|
author | Jason Evans <je@facebook.com> | Mon Sep 20 19:53:25 2010 -0700 |
committer | Jason Evans <je@facebook.com> | Mon Sep 20 19:53:25 2010 -0700 |
tree | 7e8ffadd40ecbce8bd32cc5d96d6a6edb26d5fee | |
parent | 355b438c854227bbf8185cb7a3ce247d271a842e [diff] |
Fix compiler warnings and errors. Use INT_MAX instead of MAX_INT in ALLOCM_ALIGN(), and #include <limits.h> in order to get its definition. Modify prof code related to hash tables to avoid aliasing warnings from gcc 4.1.2 (gcc 4.4.0 and 4.4.3 do not warn).