Package: manpages-dev
Version: 2.02-1
Severity: normal

We have:

        typedef struct entry {
                char *key;
                void *data;
        } ENTRY;

but the example uses:

        /* data is just an integer, instead of a
           pointer to something */
        ENTRY e;
        e.data = (char *)i;

Which implicitly assumes that sizeof(char *)==sizeof(int), which I
think makes it 64 bit unclean.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to