File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub fn build_tree(val: &json::Value) -> reply::Node {
14
14
. collect :: < Vec < _ > > ( ) ,
15
15
None => vec ! [ ]
16
16
} ,
17
- id : val. find ( "id" ) . unwrap ( ) . as_i64 ( ) . unwrap ( ) as i32 ,
17
+ id : val. find ( "id" ) . unwrap ( ) . as_i64 ( ) . unwrap ( ) ,
18
18
name : match val. find ( "name" ) {
19
19
Some ( n) => match n. as_string ( ) {
20
20
Some ( s) => Some ( s. to_owned ( ) ) ,
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pub struct Node {
122
122
/// The internal ID (actually a C pointer value) of this container. Do not make any
123
123
/// assumptions about it. You can use it to (re-)identify and address containers when
124
124
/// talking to i3.
125
- pub id : i32 ,
125
+ pub id : i64 ,
126
126
127
127
/// The internal name of this container. For all containers which are part of the tree
128
128
/// structure down to the workspace contents, this is set to a nice human-readable name of
You can’t perform that action at this time.
0 commit comments