@@ -101,35 +101,35 @@ impl RepositoryPlugin {
101101 pub fn version ( & self ) -> BnString {
102102 let result = unsafe { BNPluginGetVersion ( self . handle . as_ptr ( ) ) } ;
103103 assert ! ( !result. is_null( ) ) ;
104- unsafe { BnString :: from_raw ( result as * mut i8 ) }
104+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
105105 }
106106
107107 /// String of the commit of this plugin git repository
108108 pub fn commit ( & self ) -> BnString {
109109 let result = unsafe { BNPluginGetCommit ( self . handle . as_ptr ( ) ) } ;
110110 assert ! ( !result. is_null( ) ) ;
111- unsafe { BnString :: from_raw ( result as * mut i8 ) }
111+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
112112 }
113113
114114 /// Relative path from the base of the repository to the actual plugin
115115 pub fn path ( & self ) -> BnString {
116116 let result = unsafe { BNPluginGetPath ( self . handle . as_ptr ( ) ) } ;
117117 assert ! ( !result. is_null( ) ) ;
118- unsafe { BnString :: from_raw ( result as * mut i8 ) }
118+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
119119 }
120120
121121 /// Optional sub-directory the plugin code lives in as a relative path from the plugin root
122122 pub fn subdir ( & self ) -> BnString {
123123 let result = unsafe { BNPluginGetSubdir ( self . handle . as_ptr ( ) ) } ;
124124 assert ! ( !result. is_null( ) ) ;
125- unsafe { BnString :: from_raw ( result as * mut i8 ) }
125+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
126126 }
127127
128128 /// Dependencies required for installing this plugin
129129 pub fn dependencies ( & self ) -> BnString {
130130 let result = unsafe { BNPluginGetDependencies ( self . handle . as_ptr ( ) ) } ;
131131 assert ! ( !result. is_null( ) ) ;
132- unsafe { BnString :: from_raw ( result as * mut i8 ) }
132+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
133133 }
134134
135135 /// true if the plugin is installed, false otherwise
@@ -193,7 +193,7 @@ impl RepositoryPlugin {
193193 pub fn repository ( & self ) -> BnString {
194194 let result = unsafe { BNPluginGetRepository ( self . handle . as_ptr ( ) ) } ;
195195 assert ! ( !result. is_null( ) ) ;
196- unsafe { BnString :: from_raw ( result as * mut i8 ) }
196+ unsafe { BnString :: from_raw ( result as * mut c_char ) }
197197 }
198198
199199 /// Boolean status indicating that the plugin is being deleted
0 commit comments