Congratulations....looks good. On 6 March 2015 at 15:01, <[email protected]> wrote:
> Repository: incubator-corinthia > Updated Branches: > refs/heads/master 9d4eefaac -> 1fe57c303 > > > Fix compiler warning [-Wpointer-to-int-cast]. > > * DocFormats/core/src/lib/DFAllocator.c: > (DFAllocatorAlloc): > Change cast of (unsigned long long)mem to (unsigned long) to > remove compiler warning. > > > Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo > Commit: > http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/1fe57c30 > Tree: > http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/1fe57c30 > Diff: > http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/1fe57c30 > > Branch: refs/heads/master > Commit: 1fe57c303f3386f32e0dfcf84c3fa944366b1ffd > Parents: 9d4eefa > Author: Gabriela Gibson <[email protected]> > Authored: Fri Mar 6 14:01:30 2015 +0000 > Committer: Gabriela Gibson <[email protected]> > Committed: Fri Mar 6 14:01:30 2015 +0000 > > ---------------------------------------------------------------------- > DocFormats/core/src/lib/DFAllocator.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > ---------------------------------------------------------------------- > > > > http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1fe57c30/DocFormats/core/src/lib/DFAllocator.c > ---------------------------------------------------------------------- > diff --git a/DocFormats/core/src/lib/DFAllocator.c > b/DocFormats/core/src/lib/DFAllocator.c > index 025ad00..f12a72d 100644 > --- a/DocFormats/core/src/lib/DFAllocator.c > +++ b/DocFormats/core/src/lib/DFAllocator.c > @@ -77,6 +77,6 @@ void *DFAllocatorAlloc(DFAllocator *alc, size_t size) > char *mem = block->mem + block->used; > block->used += size; > assert(block->used <= block->size); > - assert((((unsigned long long)mem) % 8) == 0); > + assert((((unsigned long)mem) % 8) == 0); > return mem; > } > >
