Commit 6cfdc90d authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Use intptr_t when playing with void*s


svn:r1795
parent 8aebd83a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -501,7 +501,7 @@ static void* _squareAndRemoveK4(const char *key, void*val, void *data)
    ++(*ip);
    return NULL;
  }
  v = (int)val;
  v = (intptr_t)val;
  return (void*)(v*v);
}