cpputil/cpputil.h
author EKR <ekr@rtfm.com>
Thu, 01 Jun 2017 10:21:26 -0700
changeset 13416 09ec5fea26cfb2d131621de5e96767c47ec5c989
parent 13204 97406323124d75e17bd4a88f98337580f9f1aa7f
permissions -rw-r--r--
Bug 1368599 - Remove short TLS 1.3 headers for Firefox. r=mt Summary: Note: I plan to uplift this change (which only affects the Firefox build) to Firefox w/o the rest of NSS. Reviewers: mt, kaie Differential Revision: https://nss-review.dev.mozaws.net/D342

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef cpputil_h__
#define cpputil_h__

static unsigned char* toUcharPtr(const uint8_t* v) {
  return const_cast<unsigned char*>(static_cast<const unsigned char*>(v));
}

#endif  // cpputil_h__