diff --git a/SabreTools.IO/Extensions/StreamExtensions.cs b/SabreTools.IO/Extensions/StreamExtensions.cs
index 21ecd44..f67d101 100644
--- a/SabreTools.IO/Extensions/StreamExtensions.cs
+++ b/SabreTools.IO/Extensions/StreamExtensions.cs
@@ -12,7 +12,7 @@ namespace SabreTools.IO.Extensions
/// Input stream to try aligning
/// Number of bytes to align on
/// True if the stream could be aligned, false otherwise
- public static bool AlignToBoundary(this Stream? input, byte alignment)
+ public static bool AlignToBoundary(this Stream? input, int alignment)
{
// If the stream is invalid
if (input == null || input.Length == 0 || !input.CanRead)