summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2012-05-24 21:47:45 -0500
committerCraig A. Berry <craigberry@mac.com>2012-05-24 21:49:45 -0500
commit426fe37ad3721a6d99e048a342d26862d6ea8fca (patch)
treeeb16b5708a5894cf37b0ce0a36402348c190edf5
parent774a0d9428574dd9488f7c7b49a428e5ec1289d4 (diff)
downloadperl-426fe37ad3721a6d99e048a342d26862d6ea8fca.tar.gz
Fix a cast in vms/vms.c.
This is a follow-up to c11536f52. Oddly. C++ was ok without the "struct" but C wasn't.
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 1d67db08a8..eda8c30874 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -10425,7 +10425,7 @@ setup_cmddsc(pTHX_ const char *incmd, int check_img, int *suggest_quote,
int cmdlen;
register int isdcl;
- vmscmd = (dsc$descriptor_s *)PerlMem_malloc(sizeof(struct dsc$descriptor_s));
+ vmscmd = (struct dsc$descriptor_s *)PerlMem_malloc(sizeof(struct dsc$descriptor_s));
if (vmscmd == NULL) _ckvmssts_noperl(SS$_INSFMEM);
/* vmsspec is a DCL command buffer, not just a filename */