Line 0
Link Here
|
|
|
1 |
--- mytreeview.cc.orig 2019-03-29 02:24:01 UTC |
2 |
+++ mytreeview.cc |
3 |
@@ -29,23 +29,7 @@ |
4 |
|
5 |
#include "mytreeview.h" |
6 |
|
7 |
-static const char *ctl_typename[CTLTYPE+1] = { |
8 |
- [CTLTYPE_INT] = "integer", |
9 |
- [CTLTYPE_UINT] = "unsigned integer", |
10 |
- [CTLTYPE_LONG] = "long integer", |
11 |
- [CTLTYPE_ULONG] = "unsigned long", |
12 |
- [CTLTYPE_U8] = "uint8_t", |
13 |
- [CTLTYPE_U16] = "uint16_t", |
14 |
- [CTLTYPE_U32] = "uint32_t", |
15 |
- [CTLTYPE_U64] = "uint64_t", |
16 |
- [CTLTYPE_S8] = "int8_t", |
17 |
- [CTLTYPE_S16] = "int16_t", |
18 |
- [CTLTYPE_S32] = "int32_t", |
19 |
- [CTLTYPE_S64] = "int64_t", |
20 |
- [CTLTYPE_NODE] = "node", |
21 |
- [CTLTYPE_STRING] = "string", |
22 |
- [CTLTYPE_OPAQUE] = "opaque", |
23 |
-}; |
24 |
+static const char *ctl_typename[CTLTYPE+1] = { "ZEROUNUSED", "node", "integer", "string", "int64_t", "opaque", "unsigned integer", "long integer", "unsigned long", "uint64_t", "uint8_t", "uint16_t", "int8_t","int16_t", "int32_t", "uint32_t" }; |
25 |
|
26 |
/* Public Methods */ |
27 |
|