diff options
Diffstat (limited to 'src/unix/os390.c')
-rw-r--r-- | src/unix/os390.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/os390.c b/src/unix/os390.c index b43aebfc..c86036e9 100644 --- a/src/unix/os390.c +++ b/src/unix/os390.c @@ -229,8 +229,8 @@ static int getexe(const int pid, char* buf, size_t len) { assert(((Output_buf.Output_data.offsetPath >>24) & 0xFF) == 'A'); /* Get the offset from the lowest 3 bytes */ - Output_path = (char*)(&Output_buf) + - (Output_buf.Output_data.offsetPath & 0x00FFFFFF); + Output_path = (struct Output_path_type*) ((char*) (&Output_buf) + + (Output_buf.Output_data.offsetPath & 0x00FFFFFF)); if (Output_path->len >= len) { errno = ENOBUFS; |