From d41947cec71561d3cd52e264481ad255f5d8a469 Mon Sep 17 00:00:00 2001 From: manfred99 <manfred99@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Fri, 24 Oct 2008 21:49:23 +0000 Subject: [PATCH] trivial compile fix for "-pedantic" git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2671 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/CHANGELOG | 4 +++- sm5/dev_ata_cmd_set.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index cb5371189..56542a591 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.747 2008/10/24 21:43:12 manfred99 Exp $ +$Id: CHANGELOG,v 1.748 2008/10/24 21:49:23 manfred99 Exp $ The most recent version of this file is: http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup @@ -40,6 +40,8 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [MS] Fix trivial compile error with "-pedantic" + [MS] Workaround for huge raw values of Reallocated_Sector_Ct and Reallocated_Event_Ct for newer Fujitsu disks (only the lower 16 bits seem to be meaningful). Clip the display to 16 bits diff --git a/sm5/dev_ata_cmd_set.cpp b/sm5/dev_ata_cmd_set.cpp index aa0b4f8fe..41c6234d0 100644 --- a/sm5/dev_ata_cmd_set.cpp +++ b/sm5/dev_ata_cmd_set.cpp @@ -22,7 +22,7 @@ #include <errno.h> -const char * dev_ata_cmd_set_cpp_cvsid = "$Id: dev_ata_cmd_set.cpp,v 1.3 2008/08/23 17:07:16 chrfranke Exp $" +const char * dev_ata_cmd_set_cpp_cvsid = "$Id: dev_ata_cmd_set.cpp,v 1.4 2008/10/24 21:49:23 manfred99 Exp $" DEV_ATA_CMD_SET_H_CVSID; @@ -122,5 +122,5 @@ bool ata_device_with_command_set::ata_pass_through(const ata_cmd_in & in, ata_cm break; } return true; -}; +} -- GitLab