Fixed various compiler warnings. Thank you, Morten Kvistgaard!

This commit is contained in:
skarg
2013-12-09 20:31:47 +00:00
parent 7f58784576
commit 9fb6b9107a
4 changed files with 14 additions and 5 deletions
+2 -3
View File
@@ -62,7 +62,7 @@
#define _stricmp stricmp
#endif
uint8_t Send_Private_Transfer_Request(
extern uint8_t Send_Private_Transfer_Request(
uint32_t device_id,
uint16_t vendor_id,
uint32_t service_number,
@@ -176,7 +176,6 @@ int main(
int iCount = 0;
int iType = 0;
int iKey;
static int iLimit[3] = { 7, 11, 7 };
if (((argc != 2) && (argc != 3)) || ((argc >= 2) &&
(strcmp(argv[1], "--help") == 0))) {
@@ -300,7 +299,7 @@ int main(
NewData.cMyByte1 = iCount;
NewData.cMyByte2 = 255 - iCount;
NewData.fMyReal = (float) iCount;
strcpy(NewData.sMyString, "Test Data - [x]");
strcpy((char*)NewData.sMyString, "Test Data - [x]");
NewData.sMyString[13] = 'a' + iCount;
printf("Sending block %d\n", iCount);
invoke_id =