diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-21 09:20:28 (GMT) |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-21 11:40:48 (GMT) |
commit | f14d9dc7c790f40e897bf4f3afaacdde6509adac (patch) | |
tree | 9decc8ccfb18a38a94568feea8c9dc66e4ff6fd2 /generic/tkbltGrElem.h | |
parent | 095e27e5a9b983b7a20ea6bc4b9f4989ddb9a160 (diff) | |
download | blt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.zip blt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.tar.gz blt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.tar.bz2 |
Enforce explicit downcasting of numeric values
As part of the change, upgrade tkblt internal structures from
short/float to int/double, as those are artifacts of the legacy code
relying on X. Downcast to short at the latest stage: when interfacing
with X.
Diffstat (limited to 'generic/tkbltGrElem.h')
-rw-r--r-- | generic/tkbltGrElem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkbltGrElem.h b/generic/tkbltGrElem.h index eabc9e9..8904df0 100644 --- a/generic/tkbltGrElem.h +++ b/generic/tkbltGrElem.h @@ -156,8 +156,8 @@ namespace Blt { Graph* graphPtr_; const char* name_; Tcl_HashEntry* hashPtr_; - unsigned short row_; - unsigned short col_; + unsigned row_; + unsigned col_; int nActiveIndices_; int* activeIndices_; int active_; |