• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tpm2-software / tpm2-tss / 1535
36%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2018 08:58PM UTC
Jobs 1
Files 285
Run time 40s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1535

push

travis-ci

tstruk
util: fix a format warning that can occur on some platforms

When building for the s390 architecture the following warning occurs
which leads to a build error:

```
src/util/io.c:70:9: error: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'long unsigned int' [-Werror=format=]
          LOG_DEBUG("writing %zu bytes starting at 0x%" PRIxPTR " to fd %d",
```

size_t is of a different type than uintptr_t on s390. Due do integer
type promotion the type won't match the PRIxPTR specifier any more after
adding to it.

Arithmetic should be done with the pointer, not the uintptr_t. This will
fix will the warning.

Signed-off-by: Matthias Gerstner <matthias.gerstner@suse.de>

16737 of 19901 relevant lines covered (84.1%)

183.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1535.1 13 Aug 2018 08:58PM UTC 0
84.1
Travis Job 1535.1
Source Files on build 1535
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1535
  • 181396a7 on github
  • Prev Build on master (#1529)
  • Next Build on master (#1536)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc