diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/ttk/ttkTagSet.c | 4 | ||||
-rw-r--r-- | generic/ttk/ttkWidget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkTagSet.c b/generic/ttk/ttkTagSet.c index 1cc22c5..5645325 100644 --- a/generic/ttk/ttkTagSet.c +++ b/generic/ttk/ttkTagSet.c @@ -21,7 +21,7 @@ struct TtkTagTable { Tk_Window tkwin; /* owner window */ const Tk_OptionSpec *optionSpecs; /* ... */ Tk_OptionTable optionTable; /* ... */ - Tcl_Size recordSize; /* size of tag record */ + size_t recordSize; /* size of tag record */ Tcl_Size nTags; /* #tags defined so far */ Tcl_HashTable tags; /* defined tags */ }; @@ -53,7 +53,7 @@ static void DeleteTag(Ttk_TagTable tagTable, Ttk_Tag tag) Ttk_TagTable Ttk_CreateTagTable( Tcl_Interp *interp, Tk_Window tkwin, - const Tk_OptionSpec *optionSpecs, int recordSize) + const Tk_OptionSpec *optionSpecs, size_t recordSize) { Ttk_TagTable tagTable = (Ttk_TagTable)ckalloc(sizeof(*tagTable)); tagTable->tkwin = tkwin; diff --git a/generic/ttk/ttkWidget.h b/generic/ttk/ttkWidget.h index d9664b1..e11e013 100644 --- a/generic/ttk/ttkWidget.h +++ b/generic/ttk/ttkWidget.h @@ -214,7 +214,7 @@ typedef struct TtkTagSet { /* TODO: make opaque */ } *Ttk_TagSet; MODULE_SCOPE Ttk_TagTable Ttk_CreateTagTable( - Tcl_Interp *, Tk_Window tkwin, const Tk_OptionSpec *, int recordSize); + Tcl_Interp *, Tk_Window tkwin, const Tk_OptionSpec *, size_t recordSize); MODULE_SCOPE void Ttk_DeleteTagTable(Ttk_TagTable); MODULE_SCOPE Ttk_Tag Ttk_GetTag(Ttk_TagTable, const char *tagName); |