Skip to content

GCC compiler warning in slice.h on x86_64 ( conversion to 'int' from 'size_t' ) #146

Closed
@cmumford

Description

Original issue 140 created by jvb127 on 2013-01-10T20:38:33.000Z:

gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)

include/leveldb/slice.h: In member function ‘int leveldb::Slice::compare(const leveldb::Slice&) const’:
include/leveldb/slice.h:97:53: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions