]> git.donarmstrong.com Git - lilypond.git/blobdiff - lib/include/binary-source-file.hh
release: 1.1.24
[lilypond.git] / lib / include / binary-source-file.hh
index 59c35b6a83cfb2804a90e7691e20f0bd1545ee9e..ee59497890486731927a096f89acc7f1cf11a3a7 100644 (file)
@@ -14,9 +14,9 @@ public:
   Binary_source_file (String& filename_str );
   virtual ~Binary_source_file ();
 
-  U8 get_U8 () { return *(U8*)forward_ch_C (1); }
-  U16 get_U16 () { return *(U16*)forward_ch_C (2); }
-  U32 get_U32 () { return *(U32*)forward_ch_C (4); }
+  U8 get_U8 ()
+  U16 get_U16 ();
+  U32 get_U32 ();
   Byte get_Byte () {return get_U8 (); }
   int get_int () { return get_U32 (); }