"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xcircuit.c" between
xcircuit-3.10.26.tgz and xcircuit-3.10.27.tgz

About: XCircuit is a X11 program for drawing publishable-quality electrical circuit schematic diagrams and related figures. It can also be used as a generic drawing program.

xcircuit.c  (xcircuit-3.10.26.tgz):xcircuit.c  (xcircuit-3.10.27.tgz)
skipping to change at line 1610 skipping to change at line 1610
long l; long l;
int result; int result;
if (objPtr->typePtr != &tclHandleType) { if (objPtr->typePtr != &tclHandleType) {
result = SetHandleFromAny(interp, objPtr); result = SetHandleFromAny(interp, objPtr);
if (result != TCL_OK) { if (result != TCL_OK) {
return result; return result;
} }
} }
l = objPtr->internalRep.longValue; l = objPtr->internalRep.longValue;
#if SIZEOF_VOID_P == SIZEOF_UNSIGNED_INT
if (((long)((int)l)) == l) { if (((long)((int)l)) == l) {
*handlePtr = (void *)objPtr->internalRep.longValue; *handlePtr = (void *)objPtr->internalRep.longValue;
return TCL_OK; return TCL_OK;
} }
#else
#if SIZEOF_VOID_P == SIZEOF_UNSIGNED_LONG
*handlePtr = (void *)objPtr->internalRep.longValue;
return TCL_OK;
#endif
#endif
if (interp != NULL) { if (interp != NULL) {
Tcl_ResetResult(interp); Tcl_ResetResult(interp);
Tcl_AppendToObj(Tcl_GetObjResult(interp), Tcl_AppendToObj(Tcl_GetObjResult(interp),
"value too large to represent as handle", -1); "value too large to represent as handle", -1);
} }
return TCL_ERROR; return TCL_ERROR;
} }
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)