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; }