int and uint changes #470
Gavin-Williams
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi, Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
-
My Vortice program and my coding experienceis are both not large but I did the conversion in 2 hours work. I was using -1 as significative value so I had to change strategy. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting hundreds of errors due to some changes with methods asking for uint now and not being compatible with various code that interacts with them. For example...
IWICBitmapSourceSize.Width - integer
But PixelFormat.GetStride(Guid guid, uint width)
Was this change intentional? Usually, integer is selected for its broad compatibility, even though uint might make more sense as a container for valid values.
Or are we just expect to go through and type (uint) hundreds of times? (225 for me). And even making a few changes, It has ballooned out to 300. This is a nightmare.
What's the rationale in using int or uint in any situation?
Beta Was this translation helpful? Give feedback.
All reactions