create directories branches, tags, trunk
[lttv.git] / ltt / branches / poly / ltt / ltt-types.h
index 0d8b5406d105b7aa4cce17f9cecfb325a9281000..248cfab9c255266251647c88395a915b06cd012a 100644 (file)
@@ -1,19 +1,19 @@
 /* This file is part of the Linux Trace Toolkit viewer
  * Copyright (C) 2004-2005 Mathieu Desnoyers
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License Version 2 as
- * published by the Free Software Foundation;
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License Version 2.1 as published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful,
+ * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
- * MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
  */
 
 #ifndef LTT_TYPES_H
@@ -23,7 +23,6 @@
  * */
 
 #include <ltt/ltt.h>
-//#include <ltt/ltt-private.h>
 #include <glib.h>
 #include <ltt/time.h>
 
@@ -81,9 +80,9 @@ static inline LttTime ltt_get_time(gboolean reverse_byte_order, void *ptr)
 {
   LttTime output;
 
-  output.tv_sec = ltt_get_uint64(reverse_byte_order, ptr);
-  ptr += sizeof(guint64);
-  output.tv_nsec = ltt_get_uint64(reverse_byte_order, ptr);
+  output.tv_sec = ltt_get_uint32(reverse_byte_order, ptr);
+  ptr += sizeof(guint32);
+  output.tv_nsec = ltt_get_uint32(reverse_byte_order, ptr);
 
   return output;
 }
This page took 0.02499 seconds and 4 git commands to generate.