浏览代码

Changed ParametersLength data type for uniformity

Tal Aloni 6 年之前
父节点
当前提交
44f62571aa

+ 1 - 1
SMBLibrary/SMB1/Commands/LockingAndXResponse.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class LockingAndXResponse : SMBAndXCommand
     {
-        public const uint ParametersLength = 4;
+        public const int ParametersLength = 4;
 
         public LockingAndXResponse() : base()
         {

+ 1 - 1
SMBLibrary/SMB1/Commands/LogoffAndXRequest.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class LogoffAndXRequest : SMBAndXCommand
     {
-        public const uint ParametersLength = 4;
+        public const int ParametersLength = 4;
 
         public LogoffAndXRequest() : base()
         {

+ 1 - 1
SMBLibrary/SMB1/Commands/LogoffAndXResponse.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class LogoffAndXResponse : SMBAndXCommand
     {
-        public const uint ParametersLength = 4;
+        public const int ParametersLength = 4;
 
         public LogoffAndXResponse() : base()
         {

+ 1 - 1
SMBLibrary/SMB1/Commands/WriteRawFinalResponse.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class WriteRawFinalResponse : SMB1Command
     {
-        public const ushort ParametersLength = 2;
+        public const int ParametersLength = 2;
         // Parameters;
         public ushort Count;
 

+ 1 - 1
SMBLibrary/SMB1/Commands/WriteRawInterimResponse.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class WriteRawInterimResponse : SMB1Command
     {
-        public const ushort ParametersLength = 2;
+        public const int ParametersLength = 2;
         // Parameters;
         public ushort Available;
 

+ 1 - 1
SMBLibrary/SMB1/NTTransactSubcommands/NTTransactQuerySecurityDescriptorResponse.cs

@@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
     /// </summary>
     public class NTTransactQuerySecurityDescriptorResponse : NTTransactSubcommand
     {
-        public const uint ParametersLength = 4;
+        public const int ParametersLength = 4;
         // Parameters:
         public uint LengthNeeded;
         // Data