Quote:
|
Originally Posted by Ryan Morehart
It sounds like a stray pointer to me, but it's hard to know for sure. Does it happen consistently every time (IE is this variable unexpently changed every time, or just once in a while) and does it get changed in the same way? If there are any pointers, make sure you initialize each one before use. I know it sounds obvious, but it happens.
|
It happens every time and changes to a different value. I was using this variable to hold the file size and it is not used in any functions. It also seems that it is happening at about the same time from the start of the program. I ran a debug and nothing seems to be wrong but the one variable changing. The variable stays the same through the hole program (Which runs in a loop) for a while and then it just changes.