diff options
-rw-r--r-- | test/interactive-helper/test_udevcdrom.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/interactive-helper/test_udevcdrom.cc b/test/interactive-helper/test_udevcdrom.cc index 577e2d013..dc25ab357 100644 --- a/test/interactive-helper/test_udevcdrom.cc +++ b/test/interactive-helper/test_udevcdrom.cc @@ -4,14 +4,13 @@ int main() { - int i; pkgUdevCdromDevices c; assert(c.Dlopen()); vector<CdromDevice> l; l = c.Scan(); assert(l.empty() == false); - for (i=0;i<l.size();i++) + for (size_t i = 0; i < l.size(); ++i) std::cerr << l[i].DeviceName << " " << l[i].Mounted << " " << l[i].MountPath << std::endl; |