title: What is the downside of replacing size_t with unsigned long
body: <p>The library I am working on need to be used on both 32 and 64 bit machines; I have lots of compiler warnings because on 64bit machines <code>unsigned int != size_t</code>. </p>
  
  <p>Is there any downside in replacing all <code>unsigned int</code>s and <code>size_t</code>s by 'unsigned long'? I appreciate it does not look very elegant, but, in out case, the memory is not too much of an issue... I am wondering if there is a possibility of any bugs/unwanted behaviour etc. created by such <code>replace all</code> operation (could you give examples)? Thanks.</p>