[email protected] wrote:
Revision: 13352
          
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13352&view=rev
Author:   vszakats
Date:     2009-12-21 23:16:42 +0000 (Mon, 21 Dec 2009)

Log Message:
-----------
2009-12-22 00:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbbtree/hb_btree.c
    ! Cleaned code to compile without warning on BCC.
    ; TOFIX: ? This code looks suspicious, pls check it:
        ---
        pHeader += sizeof( HEADER_ID ) - 1;
        pHeader += sizeof( ( UINT32 ) HB_BTREE_HEADERSIZE );
        ---

I'm in the middle of a large rewrite, trying to cleanup the use of int/long inside the code.

The second item above was addressed in my local copy but not committed. As for the second, I will have to not use a string to hold the header identifier, it should be an array; the "-1" is for the null character.

I've merged this change into my local copy, it compiled with warnings:
../../../hb_btree.c:600: warning: passing arg 2 of `_hb_put_std_uint32' makes integer from pointer without a cast

I believe the parameters were reversed when my macro was replaced.

April

--
My wife has a slight impediment in her speech. Every now and then she stops to 
breathe.
- Jimmy Durante

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to