diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-15 16:02:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-15 16:02:25 +0000 |
commit | 15dc1e877428714e671d38b6a842c007d3ed13e7 (patch) | |
tree | 93a3628eb9fa007415d85e49c9dfd225fed005fb /nuttx/net/recvfrom.c | |
parent | 0f3b539afe988958a6f2fa83692ad13639d637f0 (diff) | |
download | px4-nuttx-15dc1e877428714e671d38b6a842c007d3ed13e7.tar.gz px4-nuttx-15dc1e877428714e671d38b6a842c007d3ed13e7.tar.bz2 px4-nuttx-15dc1e877428714e671d38b6a842c007d3ed13e7.zip |
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
Diffstat (limited to 'nuttx/net/recvfrom.c')
-rw-r--r-- | nuttx/net/recvfrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/recvfrom.c b/nuttx/net/recvfrom.c index b7aefcf77..0b1c9a07a 100644 --- a/nuttx/net/recvfrom.c +++ b/nuttx/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 <spudmonkey@racsa.co.cr> * * 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 */ |