title: operations with different int types
body: <p>I have a program which uses multiple different int types.</p>
  
  <p>Most often used are <code>uint64_t</code> and the standard <code>int</code>. However I wonder if I can safely do operations mixed between them. </p>
  
  <p>For instance I have an <code>uint64_t</code> and I want to add an <code>int</code> to it and store that value as another <code>uint64_t</code>.</p>
  
  <p>Is doing such a thing safe? Do I have to cast the <code>int</code> to <code>uint64_t</code> before I can use operations on it?</p>
  
  <p>I can`t really find stuff about it online. It might just be allowed and no one questions it or my Google queries are wrong.</p>
  
  <p>Anyway so basically my question is can I mix and do operations with different types of ints?</p>