Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
hfsutils
hfsutils-3.2.6-ia64.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hfsutils-3.2.6-ia64.dif of Package hfsutils
--- hpwd.c +++ hpwd.c @@ -24,6 +24,7 @@ # endif # include <stdio.h> +# include <string.h> # include "hfs.h" # include "hcwd.h" --- libhfs/os/unix.c +++ libhfs/os/unix.c @@ -53,7 +53,7 @@ */ int os_open(void **priv, const char *path, int mode) { - int fd; + long int fd; struct flock lock; switch (mode) @@ -100,7 +100,7 @@ */ int os_close(void **priv) { - int fd = (int) *priv; + long int fd = (long int) *priv; *priv = (void *) -1; @@ -119,7 +119,7 @@ */ int os_same(void **priv, const char *path) { - int fd = (int) *priv; + long int fd = (long int) *priv; struct stat fdev, dev; if (fstat(fd, &fdev) == -1 || @@ -139,7 +139,7 @@ */ unsigned long os_seek(void **priv, unsigned long offset) { - int fd = (int) *priv; + long int fd = (long int) *priv; off_t result; /* offset == -1 special; seek to last block of device */ @@ -164,7 +164,7 @@ */ unsigned long os_read(void **priv, void *buf, unsigned long len) { - int fd = (int) *priv; + long int fd = (long int) *priv; ssize_t result; result = read(fd, buf, len << HFS_BLOCKSZ_BITS); @@ -184,7 +184,7 @@ */ unsigned long os_write(void **priv, const void *buf, unsigned long len) { - int fd = (int) *priv; + long int fd = (long int) *priv; ssize_t result; result = write(fd, buf, len << HFS_BLOCKSZ_BITS);
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