Subj : Re: Old C-program To : borland.public.cpp.borlandcpp From : Ed Mulroy Date : Tue Oct 11 2005 10:47 am I think you are looking at source code that has been modified or updated over the years. When a programmer updates the code he is going to do it with the idea of it working with a current compiler. It is also likely that the code was updated more than once and not always by the same programmers. .. Ed > Vladimir Grigoriev wrote in message > news:434baabc$1@newsgroups.borland.com... > > Also it is interesting to note that in the same source module I > found the following code > > if ((bentry = (BENTRY *)GetEntryBlock() ) != NULL) > > Why does a programmer in one case use (char *) pointer and > in another case use (BENTRY *) pointer when compares with > NULL? It is strange... .