plneto / Synology.Api.Client

.NET/C# client for the Synology API
MIT License
20 stars 12 forks source link

Change int type to uint to prevent overflow #20

Closed DarkEyeDragon closed 6 months ago

DarkEyeDragon commented 6 months ago

Fixes #19

plneto commented 6 months ago

Thanks for your contribution. Can we use long instead of uint to allow an even bigger number?

DarkEyeDragon commented 6 months ago

I could. The spec seems to identify them as Integers though. so it should not overflow. But hard to be sure what they mean exactly by that. image