From dd85c333d486fc6c8ead09de83b737fd5fc2bd27 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 15 Mar 2009 16:02:25 +0000 Subject: [PATCH] Fix some debug statements that print long as int git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1612 42af7a65-404d-4744-a932-0658087f49c3 --- net/recvfrom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/recvfrom.c b/net/recvfrom.c index b7aefcf77d3..0b1c9a07a53 100644 --- a/net/recvfrom.c +++ b/net/recvfrom.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/recvfrom.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -129,7 +129,7 @@ static void recvfrom_newdata(struct uip_driver_s *dev, struct recvfrom_s *pstate /* Copy the new appdata into the user buffer */ memcpy(pstate->rf_buffer, dev->d_appdata, recvlen); - nvdbg("Received %d bytes (of %d)\n", recvlen, dev->d_len); + nvdbg("Received %d bytes (of %d)\n", (int)recvlen, (int)dev->d_len); /* Update the accumulated size of the data read */