]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix another gcc 15 warning in 0.4.9.
authorNick Mathewson <nickm@torproject.org>
Mon, 19 May 2025 01:22:11 +0000 (21:22 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 19 May 2025 11:52:36 +0000 (07:52 -0400)
src/test/test_circuitbuild.c

index 4db86d4423a6accab5c9d103e3c1cee2f0e357dd..3448bb0180e0f6fbcad9b9109838cb170d29989b 100644 (file)
@@ -1295,7 +1295,7 @@ test_circuit_extend(void *arg)
   setup_full_capture_of_logs(LOG_INFO);
 
   msg->command = RELAY_COMMAND_EXTEND2;
-  uint8_t body[3] = "xyz";
+  NONSTRING uint8_t body[3] = "xyz";
   msg->body = body;
 
 #ifndef ALL_BUGS_ARE_FATAL