Przeglądaj źródła

net/channel: Make ChannelInfo ID a u32.

parazyd 3 lat temu
rodzic
commit
02b15fd1c9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/net/channel.rs

+ 1 - 1
src/net/channel.rs

@@ -49,7 +49,7 @@ pub type ChannelPtr = Arc<Channel>;
 #[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
 #[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
 pub struct ChannelInfo {
 pub struct ChannelInfo {
     pub address: Url,
     pub address: Url,
-    pub random_id: usize,
+    pub random_id: u32,
 }
 }
 
 
 impl ChannelInfo {
 impl ChannelInfo {