csharp-ldap icon indicating copy to clipboard operation
csharp-ldap copied to clipboard

GeneralDSEventData.cs bug

Open dieseloreo opened this issue 9 years ago • 2 comments

at line 194 the return of the dec.decoderNumberic iss cast as 32 bit while the return is 64 bit.

I had to modify the line to the following to get GeneralDSEvents to return Properly.

  int ReturnValue = System.Convert.ToInt32(dec.decodeNumeric(data, length));
  return ReturnValue;
  //return (int)(dec.decodeNumeric(data, length));

dieseloreo avatar Sep 07 '16 23:09 dieseloreo

Want to send a PR?

gregoryyoung avatar Sep 08 '16 11:09 gregoryyoung

sure, just fill me on an what a OR is :)

-------- Original Message -------- Subject: Re: [EventStore/csharp-ldap] GeneralDSEventData.cs bug (#1) From: Greg Young [email protected] Date: Thu, September 08, 2016 4:46 am To: EventStore/csharp-ldap [email protected] Cc: dieseloreo [email protected], Author [email protected]

Want to send a OR> —You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

dieseloreo avatar Sep 10 '16 16:09 dieseloreo