]> Pileus Git - ~andy/rsl/blobdiff - rapic.y
RSL v1.41
[~andy/rsl] / rapic.y
diff --git a/rapic.y b/rapic.y
index 0c99d1234edb2dc4ac93343f9a488403736a8e43..b10475702322bc9e593b5c22a8b27fa64ab25413 100644 (file)
--- a/rapic.y
+++ b/rapic.y
@@ -327,7 +327,7 @@ float rapic_nyquist;
   Charlen token;
 }
 
-%expect 59
+%expect 61
 
 %%
 
@@ -463,7 +463,7 @@ ray : RAYDATA
    RSL_ftype[0] = RSL_ftype[0];
 
    /* Use yylval.token.s and yylval.token.len */
-   memset(outbuf, sizeof(outbuf), '\0');
+   memset(outbuf, '\0', sizeof(outbuf));
    rapic_decode((unsigned char *)yylval.token.s, yylval.token.len, outbuf, &outbytes,
                                &azim, &elev, &delta_time);
    /*   fprintf(stderr, "RAYDATA: ray %d, ivol %d, isweep %d, azim %f, elev %f, dtime %d, size=%d\n", nray, ivolume, isweep, azim, elev, delta_time, outbytes); */