Hi,

I encountered this problem.

I am passing a pointer (to a structure) to a function along with some
other parameters. I print that structure before making the function
call, inside that function, and after making that function call. The
1st and 3rd values are identical, as they should be, but somehow, the
value printed inside the function is bogus! And there is absolutely no
code that is changing the value.

However, when i comment out some of the local variables inside the
function, i.e. I effectively free some stack space, then the value
printed inside the function is no more bogus and is perfectly alright!

Has someone encountered this problem before?? Could someone suggest
some way to solve it?

thanks,
Abhishek

--
All you need in life is ignorance and confidence, and then success is sure.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to