Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:SLECandidates
zipios
fix_cstdint_include.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_cstdint_include.patch of Package zipios
From 60b8c7bf79e6a4458e4c0d78f5fb14a81f4feac7 Mon Sep 17 00:00:00 2001 From: AlexisWilke <alexis@m2osw.com> Date: Thu, 2 Nov 2023 16:02:59 -0700 Subject: [PATCH] Include <cstdint> instead of <cstdint.h>. Removed two commented out #include's. --- src/zipios_common.hpp | 2 +- tools/appendzip.cpp | 2 +- tools/zipdir.cpp | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/zipios_common.hpp b/src/zipios_common.hpp index 33e171c..441476f 100644 --- a/src/zipios_common.hpp +++ b/src/zipios_common.hpp @@ -34,7 +34,7 @@ #include <vector> #include <sstream> -#include <stdint.h> +#include <cstdint> #if defined( ZIPIOS_WINDOWS ) typedef int32_t ssize_t; diff --git a/tools/appendzip.cpp b/tools/appendzip.cpp index 1c91bba..dbb6abd 100644 --- a/tools/appendzip.cpp +++ b/tools/appendzip.cpp @@ -32,7 +32,7 @@ #include <cstring> #include <iostream> #include <fstream> -#include <stdint.h> +#include <cstdint> // static variables diff --git a/tools/zipdir.cpp b/tools/zipdir.cpp index d0871f1..c4e0a66 100644 --- a/tools/zipdir.cpp +++ b/tools/zipdir.cpp @@ -31,11 +31,9 @@ #include <zipios/directorycollection.hpp> #include <zipios/zipfile.hpp> -//#include <cstdlib> #include <cstring> #include <iostream> #include <fstream> -//#include <stdint.h> // static variables
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor