Commit f84f75c5 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Make a cast less const-violating; make a field size explicit.

parent d2e9d171
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
    goto err;
  }

  base16_encode(hexid, 9, (char*)request, 4);
  base16_encode(hexid, sizeof(hexid), (const char*)request, 4);

  log_info(LD_REND,
           "Got request for rendezvous from circuit %d to cookie %s.",