06.06.2017, 05:10
Код:
warning 211: possibly unintended assignment
Even 142983 is the same... using = when you should be using ==.
Also, further to this, is the way you're using an enum which has an entry titled updatetype, whilst making a local variable that has the same name... This will cause confusion, and could be related to your primary issue.