Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 25f263b685811c31a91c94ab417df1b3cf2b1c98
Ticket: 961657ffffffffffffffffffffffffffffffffff
64 Bit Compile Warnings on HP-UX
User & Date: msofer on 2004-05-28 03:37:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Fixing the warnings in tclExecute.c and tclVar.c - now using
    ptrdiff_t instead of int. Only in HEAD till I find out the
    100% correct header magic, will be backported to tclVar.c in
    8.4-core.
    
    In all those cases, the warnings came while retrieving an
    int which has stored in a pointer variable; the operation
    itself is safe as long as
       sizeof(int) <= sizeof(void *)
    but the compiler warns of precision loss if they're not
    equal. Should be ok in those two files now.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"