[commit][3647] Eliminate a warning in unix sockets.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[commit][3647] Eliminate a warning in unix sockets.

commits-3
 
Revision: 3647
Author:   eliot
Date:     2016-03-16 11:45:05 -0700 (Wed, 16 Mar 2016)
Log Message:
-----------
Eliminate a warning in unix sockets.

Modified Paths:
--------------
    branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

Property Changed:
----------------
    branches/Cog/platforms/Cross/vm/sqSCCSVersion.h


Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Tue Mar 15 17:47:04 PDT 2016
   + Wed Mar 16 11:44:16 PDT 2016

Modified: branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
===================================================================
--- branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c 2016-03-16 00:47:50 UTC (rev 3646)
+++ branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c 2016-03-16 18:45:05 UTC (rev 3647)
@@ -612,7 +612,7 @@
   if (-1 == newSocket)
     {
       /* socket() failed, or incorrect protocol type */
-      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %d, errno = %d\n", protocol, errno);
+      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %ld, errno = %d\n", protocol, errno);
       interpreterProxy->success(false);
       return;
     }

Reply | Threaded
Open this post in threaded view
|

Re: [commit][3647] Eliminate a warning in unix sockets.

Nicolas Cellier
 
thanks :)

2016-03-16 19:45 GMT+01:00 <[hidden email]>:

Revision: 3647
Author:   eliot
Date:     2016-03-16 11:45:05 -0700 (Wed, 16 Mar 2016)
Log Message:
-----------
Eliminate a warning in unix sockets.

Modified Paths:
--------------
    branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

Property Changed:
----------------
    branches/Cog/platforms/Cross/vm/sqSCCSVersion.h


Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Tue Mar 15 17:47:04 PDT 2016
   + Wed Mar 16 11:44:16 PDT 2016

Modified: branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
===================================================================
--- branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c     2016-03-16 00:47:50 UTC (rev 3646)
+++ branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c     2016-03-16 18:45:05 UTC (rev 3647)
@@ -612,7 +612,7 @@
   if (-1 == newSocket)
     {
       /* socket() failed, or incorrect protocol type */
-      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %d, errno = %d\n", protocol, errno);
+      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %ld, errno = %d\n", protocol, errno);
       interpreterProxy->success(false);
       return;
     }


Reply | Threaded
Open this post in threaded view
|

Re: [commit][3647] Eliminate a warning in unix sockets.

Eliot Miranda-2
 
Nicolas,

On Wed, Mar 16, 2016 at 11:55 AM, Nicolas Cellier <[hidden email]> wrote:
 
thanks :)

On the contrary; thanks to you!  I really appreciate your contribution.
 

2016-03-16 19:45 GMT+01:00 <[hidden email]>:

Revision: 3647
Author:   eliot
Date:     2016-03-16 11:45:05 -0700 (Wed, 16 Mar 2016)
Log Message:
-----------
Eliminate a warning in unix sockets.

Modified Paths:
--------------
    branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

Property Changed:
----------------
    branches/Cog/platforms/Cross/vm/sqSCCSVersion.h


Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Tue Mar 15 17:47:04 PDT 2016
   + Wed Mar 16 11:44:16 PDT 2016

Modified: branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
===================================================================
--- branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c     2016-03-16 00:47:50 UTC (rev 3646)
+++ branches/Cog/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c     2016-03-16 18:45:05 UTC (rev 3647)
@@ -612,7 +612,7 @@
   if (-1 == newSocket)
     {
       /* socket() failed, or incorrect protocol type */
-      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %d, errno = %d\n", protocol, errno);
+      fprintf(stderr, "primSocketCreateRAW: socket() failed; protocol = %ld, errno = %d\n", protocol, errno);
       interpreterProxy->success(false);
       return;
     }






--
_,,,^..^,,,_
best, Eliot