< prev index next >

src/hotspot/os/aix/libodm_aix.cpp

Print this page
rev 55756 : 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings

*** 1,8 **** /* ! * Copyright (c) 2015, 2015, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2015, 2015 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,8 ---- /* ! * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2015, 2019 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 57,67 **** void odmWrapper::clean_data() { if (_data) { free(_data); _data = NULL; } } ! int odmWrapper::class_offset(char *field, bool is_aix_5) { assert(has_class(), "initialization"); for (int i = 0; i < odm_class()->nelem; i++) { if (strcmp(odm_class()->elem[i].elemname, field) == 0) { int offset = odm_class()->elem[i].offset; --- 57,67 ---- void odmWrapper::clean_data() { if (_data) { free(_data); _data = NULL; } } ! int odmWrapper::class_offset(const char *field, bool is_aix_5) { assert(has_class(), "initialization"); for (int i = 0; i < odm_class()->nelem; i++) { if (strcmp(odm_class()->elem[i].elemname, field) == 0) { int offset = odm_class()->elem[i].offset;
< prev index next >