From b8ce922a361b3631ac1b882bb2aee2a6bd2424df Mon Sep 17 00:00:00 2001 From: mullerj Date: Mon, 16 Jan 2023 16:44:29 -0500 Subject: [PATCH] Fixed NormStreamSend (#1) (#77) --- examples/java/NormStreamSend.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/java/NormStreamSend.java b/examples/java/NormStreamSend.java index 56bc37a..07c241c 100755 --- a/examples/java/NormStreamSend.java +++ b/examples/java/NormStreamSend.java @@ -10,8 +10,8 @@ public class NormStreamSend { static final long REPAIR_WINDOW_SIZE = 1024 * 1024; static final long SESSION_BUFFER_SIZE = 1024 * 1024; static final int SEGMENT_SIZE = 1400; - static final int BLOCK_SIZE = 64; - static final int PARITY_SEGMENTS = 16; + static final short BLOCK_SIZE = 64; + static final short PARITY_SEGMENTS = 16; static final String DEST_ADDRESS = "224.1.2.3"; static final int DEST_PORT = 6003;