From 629e25ef6dcbeab5b6ae7325ab8aa8cafa7919ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 13 Jan 2008 19:43:00 +0000 Subject: [PATCH] fixed warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23495 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/codycam/CodyCam.cpp | 2 +- src/apps/codycam/VideoConsumer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/codycam/CodyCam.cpp b/src/apps/codycam/CodyCam.cpp index 7d0b919eea..6b56a57e6b 100644 --- a/src/apps/codycam/CodyCam.cpp +++ b/src/apps/codycam/CodyCam.cpp @@ -600,7 +600,7 @@ VideoWindow::MessageReceived(BMessage* message) if (control != NULL) { int32 client; message->FindInt32("client", &(fFtpInfo.uploadClient)); - FTPINFO("upl client = %d\n", fFtpInfo.uploadClient); + FTPINFO("upl client = %ld\n", fFtpInfo.uploadClient); } break; diff --git a/src/apps/codycam/VideoConsumer.cpp b/src/apps/codycam/VideoConsumer.cpp index 8cc3705e45..51c7c3847b 100644 --- a/src/apps/codycam/VideoConsumer.cpp +++ b/src/apps/codycam/VideoConsumer.cpp @@ -688,7 +688,7 @@ VideoConsumer::FtpSave(char* filename) ftp = new SftpClient; break; default: - fprintf(stderr, "invalid upload client %d\n", fUploadClient); + fprintf(stderr, "invalid upload client %ld\n", fUploadClient); return EINVAL; }