Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added a few casts, to pacify picky compliers.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 43b903a3b0ad98eff171889392bd8824b493398f
User & Date: rolf 2008-03-04 21:03:09
Context
2008-03-04
21:04
See file. Leaf check-in: 1b5b7e10e4 user: rolf tags: tdom-0.8.3-postrelease, trunk
21:03
Added a few casts, to pacify picky compliers. check-in: 43b903a3b0 user: rolf tags: trunk
20:58
See file. check-in: 45cb0ea256 user: rolf tags: trunk
Changes

Changes to generic/domxslt.c.

6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
....
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
                    xs->doctype.systemId = tdomstrdup(str);
                }
                str = getAttr(node, "cdata-section-elements", 
                              a_cdataSectionElements);
                if (str) {
                    if (!xs->doctype.cdataSectionElements) {
                        xs->doctype.cdataSectionElements = 
                            MALLOC (sizeof (Tcl_HashTable));
                        Tcl_InitHashTable (xs->doctype.cdataSectionElements,
                                           TCL_STRING_KEYS);
                    }
                    if (!getCdataSectionElements (node, str,
                            xs->doctype.cdataSectionElements, errMsg)) {
                        return -1;
                    }
................................................................................
    }
    if (xs->doctype.cdataSectionElements) {
        if (!xs->resultDoc->doctype) {
            xs->resultDoc->doctype = (domDocInfo*)MALLOC (sizeof (domDocInfo));
            memset (xs->resultDoc->doctype, 0, (sizeof (domDocInfo)));
        }
        xs->resultDoc->doctype->cdataSectionElements =
            MALLOC (sizeof (Tcl_HashTable));
        Tcl_InitHashTable (xs->resultDoc->doctype->cdataSectionElements,
                           TCL_STRING_KEYS);
        for (entryPtr = Tcl_FirstHashEntry (xs->doctype.cdataSectionElements,
                                            &search);
             entryPtr != (Tcl_HashEntry*) NULL;
             entryPtr = Tcl_NextHashEntry (&search)) {
            Tcl_CreateHashEntry (xs->resultDoc->doctype->cdataSectionElements,







|







 







|







6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
....
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
                    xs->doctype.systemId = tdomstrdup(str);
                }
                str = getAttr(node, "cdata-section-elements", 
                              a_cdataSectionElements);
                if (str) {
                    if (!xs->doctype.cdataSectionElements) {
                        xs->doctype.cdataSectionElements = 
                            (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
                        Tcl_InitHashTable (xs->doctype.cdataSectionElements,
                                           TCL_STRING_KEYS);
                    }
                    if (!getCdataSectionElements (node, str,
                            xs->doctype.cdataSectionElements, errMsg)) {
                        return -1;
                    }
................................................................................
    }
    if (xs->doctype.cdataSectionElements) {
        if (!xs->resultDoc->doctype) {
            xs->resultDoc->doctype = (domDocInfo*)MALLOC (sizeof (domDocInfo));
            memset (xs->resultDoc->doctype, 0, (sizeof (domDocInfo)));
        }
        xs->resultDoc->doctype->cdataSectionElements =
            (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
        Tcl_InitHashTable (xs->resultDoc->doctype->cdataSectionElements,
                           TCL_STRING_KEYS);
        for (entryPtr = Tcl_FirstHashEntry (xs->doctype.cdataSectionElements,
                                            &search);
             entryPtr != (Tcl_HashEntry*) NULL;
             entryPtr = Tcl_NextHashEntry (&search)) {
            Tcl_CreateHashEntry (xs->resultDoc->doctype->cdataSectionElements,