Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:matwey:branches:hardware
libxrt
0001-Fix-missed-std-for-streampos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-missed-std-for-streampos.patch of Package libxrt
From 3a6e1216ef759cafb373d98d2f260dbb6a6e9168 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com> Date: Tue, 15 Dec 2020 00:01:09 +0300 Subject: [PATCH] Fix missed std:: for streampos streampos is a member of std:: and that should be properly specified in order to comply the standard. --- src/runtime_src/core/pcie/tools/xbflash.qspi/firmware_image.cpp | 2 +- src/runtime_src/core/pcie/tools/xbmgmt/firmware_image.cpp | 2 +- src/runtime_src/core/tools/xbmgmt2/flash/firmware_image.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime_src/core/pcie/tools/xbflash.qspi/firmware_image.cpp b/src/runtime_src/core/pcie/tools/xbflash.qspi/firmware_image.cpp index 767c2416..2e2854b8 100644 --- a/src/runtime_src/core/pcie/tools/xbflash.qspi/firmware_image.cpp +++ b/src/runtime_src/core/pcie/tools/xbflash.qspi/firmware_image.cpp @@ -27,7 +27,7 @@ firmwareImage::firmwareImage(const char *file) : std::cout << "Can't open " << file << std::endl; return; } - streampos bufsize = in.tellg(); + std::streampos bufsize = in.tellg(); in.seekg(0); // For non-dsabin file, the entire file is the image. diff --git a/src/runtime_src/core/pcie/tools/xbmgmt/firmware_image.cpp b/src/runtime_src/core/pcie/tools/xbmgmt/firmware_image.cpp index 2fa9f91c..5e274dde 100644 --- a/src/runtime_src/core/pcie/tools/xbmgmt/firmware_image.cpp +++ b/src/runtime_src/core/pcie/tools/xbmgmt/firmware_image.cpp @@ -618,7 +618,7 @@ firmwareImage::firmwareImage(const char *file, imageType type) : std::cout << "Can't open " << file << std::endl; return; } - streampos bufsize = in.tellg(); + std::streampos bufsize = in.tellg(); in.seekg(0); std::string fn(file); diff --git a/src/runtime_src/core/tools/xbmgmt2/flash/firmware_image.cpp b/src/runtime_src/core/tools/xbmgmt2/flash/firmware_image.cpp index 51f04067..4219f6a2 100644 --- a/src/runtime_src/core/tools/xbmgmt2/flash/firmware_image.cpp +++ b/src/runtime_src/core/tools/xbmgmt2/flash/firmware_image.cpp @@ -465,7 +465,7 @@ firmwareImage::firmwareImage(const char *file, imageType type) : std::cout << "Can't open " << file << std::endl; return; } - streampos bufsize = in_file.tellg(); + std::streampos bufsize = in_file.tellg(); in_file.seekg(0); std::string fn(file); -- 2.26.2
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