Changeset c192109f in rtems for testsuites


Ignore:
Timestamp:
07/24/18 08:06:20 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f133386
Parents:
61c51db
git-author:
Sebastian Huber <sebastian.huber@…> (07/24/18 08:06:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/24/18 08:06:49)
Message:

samples: Fix warnings

Location:
testsuites/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/cdtest/main.cc

    r61c51db rc192109f  
    8989        check_end_of_test();
    9090    };
     91
     92#if __cplusplus >= 201103L
     93    AClass& operator=(const AClass&) = default;
     94#endif
    9195
    9296    virtual void print()  { printf("%s\n", string); };
  • testsuites/samples/loopback/init.c

    r61c51db rc192109f  
    101101    int s = arg;
    102102    char msg[80];
    103     char reply[100];
     103    char reply[120];
    104104    int i;
    105105
     
    157157                rtems_panic("Can't accept connection: %s", strerror(errno));
    158158        else
    159             printf("ACCEPTED:%lX\n", ntohl(farAddr.sin_addr.s_addr));
     159            printf("ACCEPTED:%" PRIu32 "\n", ntohl(farAddr.sin_addr.s_addr));
    160160        spawnTask(workerTask, myPriority, s1);
    161161    }
Note: See TracChangeset for help on using the changeset viewer.