gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash libbase/lirc.h libbase/lirc.cpp ChangeLog


From: Rob Savoye
Subject: [Gnash-commit] gnash libbase/lirc.h libbase/lirc.cpp ChangeLog
Date: Tue, 18 Mar 2008 15:24:09 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    08/03/18 15:24:09

Modified files:
        libbase        : lirc.h lirc.cpp 
        .              : ChangeLog 

Log message:
                * libbase/lirc.{h,cpp}: Use byte_t instead of uint8_t.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/lirc.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/lirc.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5962&r2=1.5963

Patches:
Index: libbase/lirc.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/lirc.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- libbase/lirc.h      21 Jan 2008 20:55:44 -0000      1.3
+++ libbase/lirc.h      18 Mar 2008 15:24:08 -0000      1.4
@@ -1,5 +1,5 @@
 // 
-//   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+//   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by

Index: libbase/lirc.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/lirc.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- libbase/lirc.cpp    21 Jan 2008 20:55:44 -0000      1.3
+++ libbase/lirc.cpp    18 Mar 2008 15:24:08 -0000      1.4
@@ -1,5 +1,5 @@
 //
-//   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+//   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -82,13 +82,13 @@
 //    GNASH_REPORT_FUNCTION;
     key::code key;
     
-    char buf[LIRC_PACKET_SIZE];
+    byte_t buf[LIRC_PACKET_SIZE];
     memset(buf, 0, LIRC_PACKET_SIZE);
     
     // read the data if there is any
     readNet(buf, LIRC_PACKET_SIZE, TIMEOUT);
     
-    string packet = buf;
+    string packet = reinterpret_cast<char *>(buf);
     string::size_type space1 = packet.find(" ") +1;
     string::size_type space2 = packet.find(" ", space1) + 1;
     string::size_type space3 = packet.find(" ", space2) +1;
@@ -111,13 +111,13 @@
 {
 //    GNASH_REPORT_FUNCTION;
  
-    char buf[LIRC_PACKET_SIZE];
+    byte_t buf[LIRC_PACKET_SIZE];
     memset(buf, 0, LIRC_PACKET_SIZE);
     
     // read the data if there is any
     readNet(buf, LIRC_PACKET_SIZE, TIMEOUT);
     
-    string packet = buf;
+    string packet = reinterpret_cast<char *>(buf);
     string::size_type space1 = packet.find(" ") + 1;
     string::size_type space2 = packet.find(" ", space1) + 1;
     string::size_type space3 = packet.find(" ", space2) + 1;

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5962
retrieving revision 1.5963
diff -u -b -r1.5962 -r1.5963
--- ChangeLog   18 Mar 2008 15:15:13 -0000      1.5962
+++ ChangeLog   18 Mar 2008 15:24:09 -0000      1.5963
@@ -1,5 +1,7 @@
 2008-03-18  Rob Savoye  <address@hidden>
 
+       * libbase/lirc.{h,cpp}: Use byte_t instead of uint8_t.
+
        * libbase/network.{h,cpp}: Define NETBUFSIZE here instead of in
        cygnal/buffer. Define "byte_t" typedef for raw data, change all
        methods to use byte_t.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]