Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 619bb0f068b390e59964f54cf76e9123852cfaf3
Ticket: 2440625fffffffffffffffffffffffffffffffff
compile warning for tclBasic.c
User & Date: dkf on 2008-12-17 23:10:13
Changes

  1. icomment:
    Problem is, C doesn't guarantee that sizeof(void*)==sizeof(Tcl_ObjCmdProc*) for various reasons. (If they are the same, it's a safe thing to do. If they aren't, it's disastrous.)
    
    So, a cast and an assert. (Assigning to originator of this code.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"