Sfoglia il codice sorgente

net/channel: Make ChannelInfo ID a u32.

parazyd 3 anni fa
parent
commit
02b15fd1c9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)]
 pub struct ChannelInfo {
     pub address: Url,
-    pub random_id: usize,
+    pub random_id: u32,
 }
 
 impl ChannelInfo {