On Thu, Nov 26, 2009 at 8:24 PM, Stewart Smith <[email protected]> wrote: > I have the following code snippet > > char nf= *null_flags; > char r1nf= *(null_flags + s->rec_buff_length); > int eq= nf==r1nf; > fprintf(stderr, "man compare: %x\n", eq); > > fprintf(stderr, "byte compare: %d\n", > (char)((char)*(char*)(null_flags)) == (char)(*(char*)(null_flags + > s->rec_buff_length))); ...
Please post a compilable minimal test case, it's hard to guess without seeing that. - Dan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
