ALT Linux repositórios
Group :: Monitoramento
RPM: xosview
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: xosview-1.8.3-alt-gcc44.patch
Download
Download
--- xosview/linux/lmstemp.cc
+++ xosview/linux/lmstemp.cc
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <dirent.h>
#include <sys/stat.h>
+#include <cstring>
static const char PROC_SENSORS[] = "/proc/sys/dev/sensors";
@@ -29,7 +30,7 @@ LmsTemp::LmsTemp( XOSView *parent, const char *filename, const char *label,
<< std::endl;
parent_->done(1);
}
- char *p;
+ const char *p;
if ((p = strrchr(caption,'/')) != 0)
_highest = atoi(p+1);
else