summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2006-11-13 22:00:12 +0000
committerpixel <pixel>2006-11-13 22:00:12 +0000
commit94f2b8c198aa591b51e80911012deec2749bacb7 (patch)
tree83f722f60afb06ef42632fb0919131e893fa2be6
parent20d9fcbab1deada7260965dd12c1d22e62a8b341 (diff)
AMD64 fixes.
-rw-r--r--includes/cdutils.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/cdutils.h b/includes/cdutils.h
index 5978c15..c3053a6 100644
--- a/includes/cdutils.h
+++ b/includes/cdutils.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cdutils.h,v 1.20 2006-07-17 16:10:07 pixel Exp $ */
+/* $Id: cdutils.h,v 1.21 2006-11-13 22:00:12 pixel Exp $ */
#ifndef __CDUTILS_H__
#define __CDUTILS_H__
@@ -114,13 +114,13 @@ class cdutils : public Base {
int show_dir(struct DirEntry * dir);
struct DirEntry find_dir_entry(struct DirEntry * dir, String name);
struct DirEntry * find_dir_entry(Byte ** buffer, struct DirEntry * dir, String name);
- static unsigned char from_BCD(unsigned char x);
- static unsigned char to_BCD(unsigned char x);
- static bool is_valid_BCD(unsigned char x);
- static unsigned long from_MSF(unsigned long msf, unsigned long start = 150);
- static unsigned long from_MSF(unsigned char m, unsigned char s, unsigned char f, unsigned long start = 150);
- static unsigned long to_MSF(int sect, unsigned long start = 150);
- static void to_MSF(int sect, unsigned char & m, unsigned char & s, unsigned char & f, unsigned long start = 150);
+ static Uint8 from_BCD(Uint8 x);
+ static Uint8 to_BCD(Uint8 x);
+ static bool is_valid_BCD(Uint8 x);
+ static Uint32 from_MSF(Uint32 msf, Uint32 start = 150);
+ static Uint32 from_MSF(Uint8 m, Uint8 s, Uint8 f, Uint32 start = 150);
+ static Uint32 to_MSF(int sect, Uint32 start = 150);
+ static void to_MSF(int sect, Uint8 & m, Uint8 & s, Uint8 & f, Uint32 start = 150);
private:
void write_ppf(Byte * old_sec, Byte * new_sec, int sec_num);
String format_date(String input);