bug-gnulib
[Top][All Lists]
Advanced

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

C++ support (3)


From: Bruno Haible
Subject: C++ support (3)
Date: Tue, 31 Oct 2006 20:21:37 +0100
User-agent: KMail/1.9.1

This is one of 2 more changes needed for C++ compilation of GNU gettext
without errors.

Is this acceptable?


2006-10-29  Bruno Haible  <address@hidden>

        Make it compile in C++ mode.
        * lib/full-write.c (full_rw): Add a cast.

*** gnulib-20061026/lib/full-write.c    2006-09-19 00:51:16.000000000 +0200
--- gnulib-20061026-modified/lib/full-write.c   2006-10-29 20:47:48.000000000 
+0100
***************
*** 60,66 ****
  full_rw (int fd, const void *buf, size_t count)
  {
    size_t total = 0;
!   const char *ptr = buf;
  
    while (count > 0)
      {
--- 60,66 ----
  full_rw (int fd, const void *buf, size_t count)
  {
    size_t total = 0;
!   const char *ptr = (const char *) buf;
  
    while (count > 0)
      {




reply via email to

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